-
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.