aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorEugene Petrenko <eugene.petrenko@gmail.com>2018-09-11 18:46:17 +0300
committerEugene Petrenko <eugene.petrenko@gmail.com>2018-09-11 18:46:17 +0300
commitb3913cdb97f1f2863c9e4001e0aacdca857f7ba5 (patch)
tree79fd1a76e05e56eb01adc45483f1f0322d81b2e8 /build.gradle
parentd5173fa676f9495f16beb7c4afea022a265365c2 (diff)
downloaddokka-b3913cdb97f1f2863c9e4001e0aacdca857f7ba5.tar.gz
dokka-b3913cdb97f1f2863c9e4001e0aacdca857f7ba5.tar.bz2
dokka-b3913cdb97f1f2863c9e4001e0aacdca857f7ba5.zip
include TeamCity BUILD_NUMBER into build number
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 7ea6dd9c..d93d8601 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,10 @@
import org.jetbrains.DependenciesVersionGetter
allprojects {
+ ext {
+ dokka_version = dokka_version_base + (System.getenv("BUILD_NUMBER") ?: "-SNAPSHOT")
+ }
+
group 'org.jetbrains.dokka'
version dokka_version