We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9073e41 commit 5164a1bCopy full SHA for 5164a1b
android-database-sqlcipher/maven.gradle
@@ -71,8 +71,10 @@ afterEvaluate { project ->
71
}
72
repositories {
73
maven {
74
- def releasesRepoUrl = getReleaseRepositoryUrl()
75
- url = releasesRepoUrl
+ def repoUrl = isReleaseBuild()
+ ? getReleaseRepositoryUrl()
76
+ : getSnapshotRepositoryUrl();
77
+ url = repoUrl
78
credentials {
79
username = getRepositoryUsername()
80
password = getRepositoryPassword()
@@ -83,7 +85,7 @@ afterEvaluate { project ->
83
85
84
86
signing {
87
required { isReleaseBuild() && gradle.taskGraph.hasTask("publish") }
- sign configurations.archives
88
+ sign publishing.publications.mavenJava
89
90
91
task androidSourcesJar(type: Jar) {
0 commit comments