From b3913cdb97f1f2863c9e4001e0aacdca857f7ba5 Mon Sep 17 00:00:00 2001 From: Eugene Petrenko Date: Tue, 11 Sep 2018 18:46:17 +0300 Subject: include TeamCity BUILD_NUMBER into build number --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build.gradle') 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 -- cgit