diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/AndroidProjectSystem.xml b/.idea/AndroidProjectSystem.xml
new file mode 100644
index 0000000..4a53bee
--- /dev/null
+++ b/.idea/AndroidProjectSystem.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..b838237
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/migrations.xml b/.idea/migrations.xml
new file mode 100644
index 0000000..f8051a6
--- /dev/null
+++ b/.idea/migrations.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..3040d03
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
new file mode 100644
index 0000000..16660f1
--- /dev/null
+++ b/.idea/runConfigurations.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/auth-legacy/build.gradle b/auth-legacy/build.gradle
index 37a91ff..c83786d 100644
--- a/auth-legacy/build.gradle
+++ b/auth-legacy/build.gradle
@@ -11,7 +11,4 @@ ext {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api project(":core")
-}
-
-apply from: "$rootDir/bintray/install-bintray.gradle"
-apply from: "$rootDir/bintray/config-bintray.gradle"
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/auth/build.gradle b/auth/build.gradle
index 477da6d..f3299cb 100644
--- a/auth/build.gradle
+++ b/auth/build.gradle
@@ -11,7 +11,4 @@ ext {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api project(":core")
-}
-
-apply from: "$rootDir/bintray/install-bintray.gradle"
-apply from: "$rootDir/bintray/config-bintray.gradle"
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/bintray/config-bintray.gradle b/bintray/config-bintray.gradle
deleted file mode 100644
index bbb6dac..0000000
--- a/bintray/config-bintray.gradle
+++ /dev/null
@@ -1,41 +0,0 @@
-apply plugin: 'com.jfrog.bintray'
-
-version = authVersionName
-
-if (project.getPlugins().hasPlugin('com.android.application') ||
- project.getPlugins().hasPlugin('com.android.library')) {
- task androidSourcesJar(type: Jar) {
- classifier = 'sources'
- from android.sourceSets.main.java.source
- }
-} else {
- task sourcesJar(type: Jar, dependsOn: classes) {
- classifier = 'sources'
- from sourceSets.main.allSource
- }
-}
-
-artifacts {
- if (project.getPlugins().hasPlugin('com.android.application') ||
- project.getPlugins().hasPlugin('com.android.library')) {
- archives androidSourcesJar
- } else {
- archives sourcesJar
- }
-}
-
-bintray {
- user = System.getenv('BINTRAY_USERNAME')
- key = System.getenv('BINTRAY_KEY')
-
- configurations = ['archives']
- pkg {
- repo = "BazaarAuth"
- name = project.package_id
- websiteUrl = 'https://github.com/cafebazaar/CafeBazaarAuth'
- vcsUrl = 'https://github.com/cafebazaar/CafeBazaarAuth.git'
- licenses = ["Apache-2.0"]
- publish = true
- publicDownloadNumbers = true
- }
-}
\ No newline at end of file
diff --git a/bintray/install-bintray.gradle b/bintray/install-bintray.gradle
deleted file mode 100644
index 6af8cfb..0000000
--- a/bintray/install-bintray.gradle
+++ /dev/null
@@ -1,50 +0,0 @@
-apply plugin: 'com.github.dcendents.android-maven'
-
-group = 'com.farsitel.bazaar'
-
-install {
- repositories.mavenInstaller {
- pom {
- project {
- packaging 'aar'
- groupId 'com.farsitel.bazaar'
- artifactId project.artifact_id
-
- name 'bazaarAuth'
- url 'https://github.com/cafebazaar/CafeBazaarAuth'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- }
- }
-
- developers {
- developer {
- id 'shayanpourvatan'
- name 'Shayan Pourvatan'
- email 'shayanpourvatan@gmail.com'
- }
- }
-
- scm {
- connection 'https://github.com/cafebazaar/CafeBazaarAuth.git'
- developerConnection 'https://github.com/cafebazaar/CafeBazaarAuth.git'
- url 'https://github.com/cafebazaar/CafeBazaarAuth'
- }
- }
- withXml {
- def dependenciesNode = asNode().appendNode('dependencies')
- configurations.api.allDependencies.each {
- if (it.group != null && (it.name != null || "unspecified" == it.name) && it.version != null) {
- def dependencyNode = dependenciesNode.appendNode('dependency')
- dependencyNode.appendNode('groupId', it.group)
- dependencyNode.appendNode('artifactId', it.name)
- dependencyNode.appendNode('version', it.version)
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index fa48cd7..7840210 100644
--- a/build.gradle
+++ b/build.gradle
@@ -13,8 +13,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$libraryVersions.kotlin"
-
- classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$pluginVersions.bintray"
classpath "com.github.dcendents:android-maven-gradle-plugin:$pluginVersions.androidmaven"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
diff --git a/core/build.gradle b/core/build.gradle
index 180c55f..a9992c7 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -3,6 +3,12 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply from: '../android-config.gradle'
+android {
+ lintOptions {
+ abortOnError false
+ }
+}
+
ext {
package_id = 'Core'
artifact_id = 'core'
@@ -13,7 +19,5 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$libraryVersions.kotlin"
implementation "androidx.appcompat:appcompat:$libraryVersions.appcompat"
implementation "androidx.core:core-ktx:$libraryVersions.androidx"
-}
-
-apply from: "$rootDir/bintray/install-bintray.gradle"
-apply from: "$rootDir/bintray/config-bintray.gradle"
\ No newline at end of file
+ implementation "androidx.constraintlayout:constraintlayout:1.1.3"
+}
\ No newline at end of file
diff --git a/gradle-wrapper.properties b/gradle-wrapper.properties
new file mode 100644
index 0000000..4ef63d2
--- /dev/null
+++ b/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
+
diff --git a/jitpack.yml b/jitpack.yml
new file mode 100644
index 0000000..7616880
--- /dev/null
+++ b/jitpack.yml
@@ -0,0 +1,5 @@
+jdk:
+ - openjdk8
+gradle:
+ wrapper: true
+