diff --git a/build.gradle b/build.gradle index 4dc33781..6bdf7a4d 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ allprojects { repositories { - jcenter() + mavenCentral() maven { url 'https://jitpack.io' } } @@ -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) {