Skip to content

Commit

Permalink
Add config in proper build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj committed Dec 19, 2023
1 parent 0b0d8c5 commit 07ff6f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 0 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
10 changes: 9 additions & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
@@ -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}")
Expand All @@ -9,6 +9,7 @@ oss {
repository 'jwtdecode.android'
organization 'auth0'
description 'JWT Decoding library for Android'
skipAssertSigningConfiguration true

developers {
auth0 {
Expand All @@ -22,6 +23,13 @@ oss {
}
}

def signingKey = findProperty('signingKey')
def signingKeyPwd = findProperty('signingPassword')

signing {
useInMemoryPgpKeys(signingKey, signingKeyPwd)
}

android {
compileSdkVersion 29

Expand Down

0 comments on commit 07ff6f8

Please sign in to comment.