In order to get "./gradlew idea" to work I have to revert both of these
commits. After reverting them, the idea gradle task works.
commit 21d4ab2cf1c897bded41c0426a32531e926b689c
Author: Mark Bretl
Date: Mon May 1 09:57:53 2017 -0700
GEODE-2708: Update Minimum Gradle Version To 3.4.1
comm
Looks like other projects are seeing this or something similar. Anyone with
more gradle expertise want to try and fix this?
There's some mention of a workaround here:
https://github.com/akhikhl/gretty/issues/306
On Mon, May 8, 2017 at 11:00 AM, Kirk Lund wrote:
> Looks like it's geode-core:antl
Looks like it's geode-core:antlr dependency in both CLI gradlew and within
IntelliJ. Here's the full stack trace in gradlew:
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task
':geode-core:ideaModule'.
at
org.gradle.api.internal.tasks.execution.ExecuteAc
Even the "idea" task in gradle fails:
$ ./gradlew idea
...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':geode-core:ideaModule'.
> Cannot change dependencies of configuration ':geode-core:antlr' after it
has been included in dependency resolution.
* Try:
Our recent gradle upgrade seems to have broken IntelliJ. I've tried
refreshing from gradle. I've even tried deleting .idea and my IntelliJ
output directory and rebuilding my IntelliJ project in a couple different
ways.
No matter what I do, it seems to be stuck and IntelliJ refuses to work now.
I'm