mirror of https://github.com/apache/lucene.git
For now only use bundled signatures from minJavaVersion (#11834)
# Conflicts: # gradle/validation/forbidden-apis.gradle
This commit is contained in:
parent
aae293437f
commit
e5a226ec7c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue