Skip to content

Commit

Permalink
Ensure sourceModified changes are considered (see reactor/reactor#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbasle committed Sep 21, 2022
1 parent 72c03de commit 36bd19b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion reactor-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ task japicmp(type: JapicmpTask) {

oldClasspath.from(files("${buildDir}/baselineLibs/reactor-core-${libs.versions.baseline.core.api.get()}.jar"))
newClasspath.from(files(jar.archiveFile))
onlyBinaryIncompatibleModified = true
// these onlyXxx parameters result in a report that is slightly too noisy, but better than
// onlyBinaryIncompatibleModified = true which masks source-incompatible-only changes
onlyBinaryIncompatibleModified = false
onlyModified = true
failOnModification = true
failOnSourceIncompatibility = true
txtOutputFile = file("${project.buildDir}/reports/japi.txt")
Expand Down
5 changes: 4 additions & 1 deletion reactor-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ task japicmp(type: JapicmpTask) {

oldClasspath.from(files("${buildDir}/baselineLibs/reactor-test-${libs.versions.baseline.core.api.get()}.jar"))
newClasspath.from(files(jar.archiveFile))
onlyBinaryIncompatibleModified = true
// these onlyXxx parameters result in a report that is slightly too noisy, but better than
// onlyBinaryIncompatibleModified = true which masks source-incompatible-only changes
onlyBinaryIncompatibleModified = false
onlyModified = true
failOnModification = true
failOnSourceIncompatibility = true
txtOutputFile = file("${project.buildDir}/reports/japi.txt")
Expand Down

0 comments on commit 36bd19b

Please sign in to comment.