diff options
author | pacien | 2019-03-29 18:24:50 +0100 |
---|---|---|
committer | pacien | 2019-03-29 18:24:50 +0100 |
commit | f59f8e6088f93ab4a4cb8655522eadf27181060a (patch) | |
tree | 26d82426bcafb66839d6ce069fb4ba1848bc69a4 | |
parent | 58b588129b2ab4ccb3ba84e395524e2d07d0ff08 (diff) | |
download | java-lemonad-f59f8e6088f93ab4a4cb8655522eadf27181060a.tar.gz |
read version from env
-rw-r--r-- | publish.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/publish.gradle b/publish.gradle index ff48c02..c03b070 100644 --- a/publish.gradle +++ b/publish.gradle | |||
@@ -19,7 +19,7 @@ | |||
19 | apply plugin: 'maven' | 19 | apply plugin: 'maven' |
20 | 20 | ||
21 | group 'org.pacien' | 21 | group 'org.pacien' |
22 | version '1.0-SNAPSHOT' | 22 | version System.getenv('VERSION') ?: '1.0-SNAPSHOT' |
23 | 23 | ||
24 | task sourcesJar(type: Jar, dependsOn: classes) { | 24 | task sourcesJar(type: Jar, dependsOn: classes) { |
25 | classifier = 'sources' | 25 | classifier = 'sources' |