Remove snapshot conditional for bwc snapshots (elastic/x-pack-elasticsearch#3922)
Relates elastic/elasticsearch#28657
Original commit: elastic/x-pack-elasticsearch@c682681236956d2fc332ca2466bac2bcb764818a
@@ -205,7 +205,7 @@ subprojects {
} else {
executable new File(xpackCheckoutDir, 'gradlew').toString()
}
- args ":x-pack-elasticsearch:plugin:assemble", "-Dbuild.snapshot=${System.getProperty('build.snapshot') ?: 'true'}"
+ args ":x-pack-elasticsearch:plugin:assemble", "-Dbuild.snapshot=true"
final LogLevel logLevel = gradle.startParameter.logLevel
if ([LogLevel.QUIET, LogLevel.WARN, LogLevel.INFO, LogLevel.DEBUG].contains(logLevel)) {
args "--${logLevel.name().toLowerCase(Locale.ENGLISH)}"
