Mark all non-javaagent artifacts as -alpha version.
MODIFY
gradle/publish.gradle
gradle/publish.gradle
@@ -26,6 +26,13 @@ publishing {
from components.java
}
+ def stable = findProperty("otel.stable") ?: false
+ if (!stable) {
+ def versionParts = version.split('-')
+ versionParts[0] += '-alpha'
+ version = versionParts.join('-')
+ }
+
afterEvaluate {
def mavenGroupId = project.findProperty('mavenGroupId')
if (mavenGroupId) {

ADD
javaagent/gradle.properties
+otel.stable=true

Mark all non-javaagent artifacts as -alpha version. (#2286)