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 79fd7e3 commit 80a3d06Copy full SHA for 80a3d06
build.gradle.kts
@@ -19,7 +19,9 @@
19
20
allprojects {
21
group = "co.elastic.clients"
22
- version = System.getenv("VERSION") ?: "7.x-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
mavenCentral()
config/version.txt
@@ -0,0 +1 @@
1
+7.15.0
0 commit comments