Remove geoip multi-project tests from release build (#129976)

This commit is contained in:
Sam Xiao 2025-06-26 00:01:39 +08:00 committed by GitHub
parent c94c021d0e
commit 285b09ef8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,3 +22,8 @@ dependencies {
tasks.withType(Test).configureEach {
it.systemProperty "tests.multi_project.enabled", true
}
// Exclude multi-project tests from release build
tasks.named { it == "javaRestTest" || it == "yamlRestTest" }.configureEach {
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}