-
Bug
-
Resolution: Fixed
-
Minor
-
None
The gradle-jpi-plugin gives two compilation errors when attempting to use Gradle 4.8-rc-2:
> Task :compileGroovy FAILED startup failed: gradle-jpi-plugin/src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPlugin.groovy: 40: unable to resolve class org.gradle.execution.TaskGraphExecuter @ line 40, column 1. import org.gradle.execution.TaskGraphExecuter ^ gradle-jpi-plugin/src/main/groovy/org/jenkinsci/gradle/plugins/jpi/LicenseTask.groovy: 15: unable to resolve class org.gradle.internal.component.local.model.DefaultProjectComponentIdentifier @ line 15, column 1. import org.gradle.internal.component.local.model.DefaultProjectComponentIdentifier ^ 2 errors FAILURE: Build failed with an exception.
The first class can be replaced with org.gradle.api.execution.TaskExecutionGraph.
The workaround is to continue using Gradle 4.7 or lower.
[JENKINS-51622] Incompatible with Gradle 4.8
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Released As | New: https://github.com/jenkinsci/gradle-jpi-plugin/releases/tag/0.27.0 | |
Assignee | Original: Daniel Spilker [ daspilker ] | New: Steve Hill [ sghill ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
PR #107 addresses this issue