Skip to content

Commit 92a40f1

Browse files
committed
fix some smaller issues
1 parent d6ad782 commit 92a40f1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ plugins {
99

1010
def isRelease = System.getenv('IS_RELEASE') == 'YES'
1111

12+
if (isRelease) {
13+
println("THIS IS A RELEASE BUILD! Artifacts will be staged on maven central.")
14+
}
15+
1216
group = 'net.twasi'
13-
version = rootProject.file('VERSION').text.trim() + isRelease ? '' : '-SNAPSHOT'
17+
version = rootProject.file('VERSION').text.trim() + (isRelease ? '' : '-SNAPSHOT')
1418
archivesBaseName = rootProject.name
1519

1620
java.sourceCompatibility = JavaVersion.VERSION_1_8
@@ -64,8 +68,6 @@ signing {
6468
def signingKey = System.getenv('PGP_KEY').replace("\\n", "\n")
6569
def signingPassword = System.getenv('PGP_PSW')
6670

67-
println(signingKey)
68-
6971
useInMemoryPgpKeys(signingKey, signingPassword)
7072

7173
sign configurations.archives

0 commit comments

Comments
 (0)