Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51622

Incompatible with Gradle 4.8

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            sghill Steve Hill
            sghill Steve Hill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: