From 07ff6f883d8d4d9d432b2db2db64ba2b50a355bd Mon Sep 17 00:00:00 2001 From: Poovamraj T T Date: Tue, 19 Dec 2023 16:40:13 +0100 Subject: [PATCH] Add config in proper build.gradle --- build.gradle | 7 ------- gradle/wrapper/gradle-wrapper.properties | 2 +- lib/build.gradle | 10 +++++++++- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 391b4a5..3a20404 100644 --- a/build.gradle +++ b/build.gradle @@ -14,13 +14,6 @@ plugins { id 'lifecycle-base' } -def signingKey = findProperty('signingKey') -def signingKeyPwd = findProperty('signingPassword') - -signing { - useInMemoryPgpKeys(signingKey, signingKeyPwd) -} - allprojects { group = 'com.auth0.android' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8422670..ffed3a2 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/lib/build.gradle b/lib/build.gradle index 9770a94..f4383ba 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -1,5 +1,5 @@ plugins { - id "com.auth0.gradle.oss-library.android" version "0.17.1" + id "com.auth0.gradle.oss-library.android" } logger.lifecycle("Using version ${version} for ${name}") @@ -9,6 +9,7 @@ oss { repository 'jwtdecode.android' organization 'auth0' description 'JWT Decoding library for Android' + skipAssertSigningConfiguration true developers { auth0 { @@ -22,6 +23,13 @@ oss { } } +def signingKey = findProperty('signingKey') +def signingKeyPwd = findProperty('signingPassword') + +signing { + useInMemoryPgpKeys(signingKey, signingKeyPwd) +} + android { compileSdkVersion 29