File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,12 @@ plugins {
9
9
10
10
def isRelease = System . getenv(' IS_RELEASE' ) == ' YES'
11
11
12
+ if (isRelease) {
13
+ println (" THIS IS A RELEASE BUILD! Artifacts will be staged on maven central." )
14
+ }
15
+
12
16
group = ' net.twasi'
13
- version = rootProject. file(' VERSION' ). text. trim() + isRelease ? ' ' : ' -SNAPSHOT'
17
+ version = rootProject. file(' VERSION' ). text. trim() + ( isRelease ? ' ' : ' -SNAPSHOT' )
14
18
archivesBaseName = rootProject. name
15
19
16
20
java. sourceCompatibility = JavaVersion . VERSION_1_8
@@ -64,8 +68,6 @@ signing {
64
68
def signingKey = System . getenv(' PGP_KEY' ). replace(" \\ n" , " \n " )
65
69
def signingPassword = System . getenv(' PGP_PSW' )
66
70
67
- println (signingKey)
68
-
69
71
useInMemoryPgpKeys(signingKey, signingPassword)
70
72
71
73
sign configurations. archives
You can’t perform that action at this time.
0 commit comments