rholder / gradle-view

The Gradle View IntelliJ IDEA plugin shows a split tree rollup of the dependencies for each Gradle configuration in use by a project.
Apache License 2.0
179 stars 14 forks source link

Upgrade to newer gradle and IDEA #11

Closed barspi closed 9 years ago

barspi commented 9 years ago

Currently the project is bases on an outdated Gradle 1.12 It would be convenient to upgrade to a newer gradle version (2.3+ preferable), together with making certain it also works with the latest (14.x+) Intellij IDEA versions. (Ideally, it could use the current project's Gradle settings, but I'm not sure it's doable)

One thing that failed me with the current gradle-view version is this new Gradle syntax for plugins, which makes Gradle 1.12 break:

plugins {
    id "fi.jasoft.plugin.vaadin" version "0.9.6"
}
rholder commented 9 years ago

The 2.1.0 release should now be using the Gradle 2.3 tooling API. What this means is that the Gradle plugin itself should be able to handle many more Gradle versions than the previous 1.12 tooling API (but also maintain backward compatibility). It will always use the project's preferred Gradle (as set by the target project's Gradle wrapper) when running Gradle. Feel free to pull the latest .zip from that tagged release here on GitHub as it will likely be a few days before JetBrains approves the same file on their plugin repository. Let me know if you have any more issues with this release.