Skip to content

Commit

Permalink
Skip japicmp for new modules (#4569)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnorth committed Oct 11, 2021
1 parent 33218e7 commit f31ee79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gradle/japicmp.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ dependencies {
tasks.japicmp {
dependsOn(tasks.shadowJar)

// Disable if baseline dependencies cannot be resolved - such as when developing a new module that doesn't
// have an existing published version.
enabled = ! configurations.baseline.copy().resolvedConfiguration.lenientConfiguration.getFiles().empty

oldClasspath = configurations.baseline
newClasspath = shadowJar.outputs.files
ignoreMissingClasses = true
Expand Down

0 comments on commit f31ee79

Please sign in to comment.