Skip to content

Commit 1bea27c

Browse files
Adjustments for publishing to Maven Central
1 parent 7e2bac3 commit 1bea27c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

sqlcipher/build.gradle

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ android {
6565
withSourcesJar()
6666
withJavadocJar()
6767
}
68-
69-
singleVariant('debug') {
70-
withSourcesJar()
71-
withJavadocJar()
72-
}
7368
}
7469

7570
}
@@ -142,7 +137,6 @@ afterEvaluate {
142137
artifactId = "sqlcipher-android"
143138
version = "${rootProject.ext.mavenVersionName}"
144139
from components.release
145-
artifact androidSourcesJar
146140
pom {
147141
name = "sqlcipher-android"
148142
packaging = "aar"
@@ -189,13 +183,4 @@ afterEvaluate {
189183
required { isReleaseBuild() && gradle.taskGraph.hasTask("publish") }
190184
sign publishing.publications.mavenJava
191185
}
192-
193-
artifacts {
194-
archives androidSourcesJar
195-
}
196-
}
197-
198-
task androidSourcesJar(type: Jar) {
199-
archiveClassifier.set('sources')
200-
from android.sourceSets.main.java.srcDirs
201186
}

0 commit comments

Comments
 (0)