• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • gradle-jpi-plugin
    • 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

          Steve Hill added a comment -

          PR #107 addresses this issue

          Steve Hill added a comment - PR #107 addresses this issue

          Steve Hill added a comment -

          Uploaded to Jenkins Artifactory. Release to gradle plugin portal is pending access.

          Steve Hill added a comment - Uploaded to Jenkins Artifactory. Release to gradle plugin portal is pending access.

          Steve Hill added a comment -

          Released to gradle plugin portal 7/12/2018

          Steve Hill added a comment - Released to gradle plugin portal 7/12/2018

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

              Created:
              Updated:
              Resolved: