Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
long76 committed Jul 17, 2021
1 parent 9712748 commit c91b00f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
signing.keyId=1202B12F
signing.keyId=1202B12F
ossrhUsername=''
ossrhPassword=''
21 changes: 13 additions & 8 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ task javadocJar(type: Jar, dependsOn: 'releaseJavadoc') {
from "$buildDir/docs/javadoc/"
}

artifacts {
archives javadocJar, sourcesJar
}

signing {
sign configurations.archives
}

publishing {
publications {
mvnCentral(MavenPublication) {
Expand Down Expand Up @@ -113,4 +105,17 @@ publishing {
}
}
}
repositories {
maven {
url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = ossrhUsername
password = ossrhPassword
}
}
}
}

signing {
sign publishing.publications.mvnCentral
}

0 comments on commit c91b00f

Please sign in to comment.