Skip to content

Commit

Permalink
Merge pull request #75 from sirano11/maven
Browse files Browse the repository at this point in the history
add a nexus staging info.
  • Loading branch information
kale authored May 21, 2021
2 parents e68c347 + a92b119 commit 110fcaa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ allprojects {


repositories {
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
}

Expand Down Expand Up @@ -120,12 +120,15 @@ allprojects {
def signingKey_base64 = ossrhSigningKey_base64
def signingKey = (signingKey_base64 == null? null:
new String(Base64.getMimeDecoder().decode(signingKey_base64.toString()), "utf-8"))

useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mavenJava
}


nexusStaging {
username= ossrhUsername
password= ossrhPassword
}

dependencies {
if(isAndroidBuild) {
Expand Down

0 comments on commit 110fcaa

Please sign in to comment.