-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8d4df2
commit eb59d41
Showing
16 changed files
with
382 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,38 +24,13 @@ | |
|
||
plugins { | ||
id 'kotlin-android' | ||
id "com.auth0.gradle.oss-library.android" version "0.18.0" | ||
id 'com.android.library' | ||
id "org.jetbrains.dokka" version "1.4.20" | ||
id 'maven-publish' | ||
} | ||
|
||
logger.lifecycle("Using version ${version} for ${name}") | ||
|
||
def signingKey = findProperty('signingKey') | ||
def signingKeyPwd = findProperty('signingPassword') | ||
|
||
oss { | ||
name 'Auth0.Android' | ||
repository 'Auth0.Android' | ||
organization 'auth0' | ||
description 'Android toolkit for Auth0 API' | ||
skipAssertSigningConfiguration true | ||
|
||
developers { | ||
auth0 { | ||
displayName = 'Auth0' | ||
email = '[email protected]' | ||
} | ||
lbalmaceda { | ||
displayName = 'Luciano Balmaceda' | ||
email = '[email protected]' | ||
} | ||
} | ||
} | ||
|
||
signing { | ||
useInMemoryPgpKeys(signingKey, signingKeyPwd) | ||
} | ||
|
||
android { | ||
compileSdkVersion 31 | ||
|
||
|
@@ -101,20 +76,14 @@ ext { | |
coroutinesVersion = '1.6.2' | ||
} | ||
|
||
// Configure javadoc jar to use dokka output | ||
// TODO update oss-plugin to use dokka instead of doing it here | ||
javadocJar { | ||
dependsOn "dokkaJavadoc" | ||
from "$buildDir/dokka/javadoc" | ||
} | ||
|
||
dependencies { | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" | ||
implementation 'androidx.core:core-ktx:1.6.0' | ||
implementation 'androidx.appcompat:appcompat:1.3.0' | ||
implementation 'androidx.browser:browser:1.4.0' | ||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion" | ||
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion" | ||
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.0" | ||
|
||
implementation "com.squareup.okhttp3:logging-interceptor:$okhttpVersion" | ||
implementation 'com.google.code.gson:gson:2.8.9' | ||
|
@@ -134,4 +103,14 @@ dependencies { | |
testImplementation 'org.robolectric:robolectric:4.6.1' | ||
testImplementation 'androidx.test.espresso:espresso-intents:3.5.1' | ||
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion" | ||
} | ||
|
||
project.afterEvaluate { | ||
publishing { | ||
publications { | ||
release(MavenPublication) { | ||
from components.release | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
auth0/src/main/java/com/auth0/android/provider/IdTokenVerificationOptions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
auth0/src/main/java/com/auth0/android/provider/IdTokenVerifier.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.