Skip to content

Commit 1f66962

Browse files
author
Gerhard Dickescheid
committed
bugfix: only sign archives before upload
1 parent 2bdf396 commit 1f66962

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ repositories {
3737
mavenCentral()
3838
}
3939

40-
uploadArchives {
41-
repositories {
42-
mavenDeployer {
43-
repository(url: uri('../repo'))
44-
}
45-
}
46-
}
47-
4840
processResources {
4941
expand(project.properties)
5042
}
@@ -90,6 +82,7 @@ artifacts {
9082
}
9183

9284
signing {
85+
required { gradle.taskGraph.hasTask("uploadArchives") }
9386
sign configurations.archives
9487
}
9588

0 commit comments

Comments
 (0)