Skip to content

Commit c91b00f

Browse files
committed
fix ci
1 parent 9712748 commit c91b00f

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@
88
android.useAndroidX=true
99
# Automatically convert third-party libraries to use AndroidX
1010
android.enableJetifier=true
11-
signing.keyId=1202B12F
11+
signing.keyId=1202B12F
12+
ossrhUsername=''
13+
ossrhPassword=''

library/build.gradle

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ task javadocJar(type: Jar, dependsOn: 'releaseJavadoc') {
5656
from "$buildDir/docs/javadoc/"
5757
}
5858

59-
artifacts {
60-
archives javadocJar, sourcesJar
61-
}
62-
63-
signing {
64-
sign configurations.archives
65-
}
66-
6759
publishing {
6860
publications {
6961
mvnCentral(MavenPublication) {
@@ -113,4 +105,17 @@ publishing {
113105
}
114106
}
115107
}
108+
repositories {
109+
maven {
110+
url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
111+
credentials {
112+
username = ossrhUsername
113+
password = ossrhPassword
114+
}
115+
}
116+
}
117+
}
118+
119+
signing {
120+
sign publishing.publications.mvnCentral
116121
}

0 commit comments

Comments
 (0)