Skip to content

Apache Lucene open-source search software

For now only use bundled signatures from minJavaVersion (#11834)

Uwe Schindlere5a226ec7c3c
diff --git a/gradle/validation/forbidden-apis.gradle b/gradle/validation/forbidden-apis.gradle
index 6de4c7d8aec..c124895ec1e 100644
--- a/gradle/validation/forbidden-apis.gradle
+++ b/gradle/validation/forbidden-apis.gradle
@@ -74,10 +74,12 @@ allprojects { prj ->
}
// Configure defaults for the MR-JAR feature sourceSets by setting java version and ignore missing classes
- // TODO: Get hold of warning messages, see https://github.com/policeman-tools/forbidden-apis/issues/207
+ // TODO:
+ // - Get hold of warning messages, see https://github.com/policeman-tools/forbidden-apis/issues/207
+ // - Allow using newer bundled signatures, see: https://github.com/policeman-tools/forbidden-apis/issues/207
tasks.matching { it.name == "forbiddenApisMain19" }.all {
failOnMissingClasses = false
- targetCompatibility = 19
+ targetCompatibility = rootProject.minJavaVersion
}
// Configure defaults for sourceSets.test