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 80c96d9 commit 2a4d7ddCopy full SHA for 2a4d7dd
build.gradle.kts
@@ -19,7 +19,9 @@
19
20
allprojects {
21
group = "co.elastic.clients"
22
- version = (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
+ // Release manager provides a $VERSION. If not present, it's a local or CI snapshot build.
23
+ version = System.getenv("VERSION") ?:
24
+ (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
25
26
repositories {
27
maven {
0 commit comments