We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1249d19 commit 164dca0Copy full SHA for 164dca0
build.gradle.kts
@@ -19,8 +19,9 @@
19
20
allprojects {
21
group = "co.elastic.clients"
22
- version = (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
23
-
+ // Release manager provides a $VERSION. If not present, it's a local or CI snapshot build.
+ version = System.getenv("VERSION") ?:
24
+ (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
25
repositories {
26
maven {
27
name = "Elastic-Snapshots"
0 commit comments