Skip to content

Commit

Permalink
Bump version to 3.2.0.BUILD-SNAPSHOT, allow skipping of japicmp
Browse files Browse the repository at this point in the history
In the future, in case a breaking API change is introduced on the road
to 3.2.0.RELEASE, the special `compatibleVersion` `SKIP` can be used to
circumvent the japicmp check.
  • Loading branch information
simonbasle committed Feb 16, 2018
1 parent 3206bae commit 3da2eec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,16 @@ project('reactor-core') {
"org.mockito:mockito-core:$mockitoVersion",
"org.openjdk.jol:jol-core:0.9"

baseline("io.projectreactor:reactor-core:$compatibleVersion") {
transitive = false
force = true
if ("$compatibleVersion" != "SKIP") {
baseline("io.projectreactor:reactor-core:$compatibleVersion") {
transitive = false
force = true
}
}
}

task japicmp(type: JapicmpTask) {
onlyIf { "$compatibleVersion" != "SKIP" }
oldClasspath = configurations.baseline
newClasspath = files(jar.archivePath)
onlyBinaryIncompatibleModified = true
Expand Down Expand Up @@ -428,13 +431,16 @@ project('reactor-test') {
"org.assertj:assertj-core:$assertJVersion",
"org.mockito:mockito-core:$mockitoVersion"

baseline("io.projectreactor:reactor-test:$compatibleVersion") {
transitive = false
force = true
if ("$compatibleVersion" != "SKIP") {
baseline("io.projectreactor:reactor-test:$compatibleVersion") {
transitive = false
force = true
}
}
}

task japicmp(type: JapicmpTask) {
onlyIf { "$compatibleVersion" != "SKIP" }
oldClasspath = configurations.baseline
newClasspath = files(jar.archivePath)
onlyBinaryIncompatibleModified = true
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=3.1.5.BUILD-SNAPSHOT
version=3.2.0.BUILD-SNAPSHOT
compatibleVersion=3.1.4.RELEASE

0 comments on commit 3da2eec

Please sign in to comment.