Skip to content

Commit 2829523

Browse files
committed
fix
1 parent 38de500 commit 2829523

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ task signPom(type: Sign) {
4949
// create a new signature
5050
}
5151

52+
ext {
53+
pomFile = file("${project.buildDir}/generated-pom.xml")
54+
isReleaseVersion = !(project.version =~ /-SNAPSHOT$/)
55+
}
56+
57+
5258
signing {
5359
sign configurations.archives
5460
}

0 commit comments

Comments
 (0)