Skip to content

Commit

Permalink
For now only use bundled signatures from minJavaVersion (#11834)
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle/validation/forbidden-apis.gradle
  • Loading branch information
uschindler committed Oct 2, 2022
1 parent aae2934 commit e5a226e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gradle/validation/forbidden-apis.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5a226e

Please sign in to comment.