-
Bug
-
Resolution: Fixed
-
Major
-
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