Skip to content

Commit

Permalink
Fix task graph processing for older Gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Aug 1, 2022
1 parent fda6186 commit 2697d88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions byte-buddy-gradle-plugin/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ if (Boolean.getBoolean('net.bytebuddy.misc.extras')) {
logger.debug('javadoc jar is only generated if net.bytebuddy.misc.extras is set to true')
}
gradle.taskGraph.whenReady {
tasks.javadocJar.enabled = false
tasks.sourcesJar.enabled = false
tasks.getByPath('javadocJar').enabled = false
tasks.getByPath('sourcesJar').enabled = false
}
}

Expand Down

0 comments on commit 2697d88

Please sign in to comment.