aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorEugene Petrenko <eugene.petrenko@jetbrains.com>2018-09-13 16:39:59 +0300
committerEugene Petrenko <eugene.petrenko@jetbrains.com>2018-09-13 16:39:59 +0300
commit4d5ec117b8e19045edc33a7f4186a988bc500516 (patch)
treeb2b419a85fabe050c5ef03254ce9dbe7cfd7bbb5 /build.gradle
parentb78581dd1f46bf6326c15bc3f3e11e3dd2315e41 (diff)
downloaddokka-4d5ec117b8e19045edc33a7f4186a988bc500516.tar.gz
dokka-4d5ec117b8e19045edc33a7f4186a988bc500516.tar.bz2
dokka-4d5ec117b8e19045edc33a7f4186a988bc500516.zip
force snapshot option for TC build
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index bb1983fe..0825e389 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ import org.jetbrains.DependenciesVersionGetter
allprojects {
ext {
final String buildNumber = System.getenv("BUILD_NUMBER")
- dokka_version = dokka_version_base + ( buildNumber == null ? "-SNAPSHOT" : ".$buildNumber" )
+ dokka_version = dokka_version_base + ( buildNumber == null || System.getenv("FORCE_SNAPSHOT") != null ? "-SNAPSHOT" : ".$buildNumber" )
}
if (project == rootProject) {