aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {