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

Gradle JPI plugin doesn't work with idea plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gradle-jpi-plugin
    • None
    • Gradle 3.3.1

      When using the Gradle JPI plugin in our project, I see errors when also applying the idea plugin:

      :*************:ideaModule (Thread[main,5,main]) completed.
      Took 1.104 secs.
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':*************:ideaModule'.
      > Cannot change dependencies of configuration ':*************:testCompile'after it has been included in dependency resolution. Use 'defaultDependencies' instead of 'beforeResolve' to specify default dependencies for a configuration.
      

      Because of some constraints with our environment, we have to use the idea plugin to use IntelliJ.

      I've submitted a PR that addresses the issue at: https://github.com/jenkinsci/gradle-jpi-plugin/pull/86

            daspilker Daniel Spilker
            fearthewildllama Ryan Pruden
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: