Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit 112c253

Browse files
committed
Moved signing to the bottom
Signed-off-by: Winarto Zhao <[email protected]>
1 parent 06f9580 commit 112c253

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@ if (!project.parent) {
9999
archivesBaseName = "${rootProject.name}_$baseScalaVersion"
100100

101101
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
102-
signing {
103-
required { isReleaseVersion }
104-
// sign configurations.archives
105-
sign publishing.publications.MyPublication
106-
}
107102

108103
task sourcesJar(type: Jar, dependsOn: classes) {
109104
classifier = 'sources'
@@ -245,3 +240,9 @@ test {
245240
testScoverage {
246241
maxParallelForks = 1
247242
}
243+
244+
signing {
245+
required { isReleaseVersion }
246+
// sign configurations.archives
247+
sign publishing.publications.MyPublication
248+
}

0 commit comments

Comments
 (0)