• 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 created issue -

          Steve Hill added a comment -

          PR #107 addresses this issue

          Steve Hill added a comment - PR #107 addresses this issue
          Steve Hill made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          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 made changes -
          Released As New: https://github.com/jenkinsci/gradle-jpi-plugin/releases/tag/0.27.0
          Assignee Original: Daniel Spilker [ daspilker ] New: Steve Hill [ sghill ]

          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
          Steve Hill made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: