gdx-setup icon indicating copy to clipboard operation
gdx-setup copied to clipboard

GWT: Plugin with id 'jetty' not found.

Open Malkierian opened this issue 6 years ago • 5 comments

So I just did a fresh install with your latest release, and after generation, I get the error noted in the title. gradlew --version shows Gradle 4.0.2 (I wanted to use 5.x at some point, but found out leftShift() is removed in 5.0). Apparently, Jetty was removed from Gradle as of 4.0.1, and yet somehow GDX's own installer manages to get around that.

Malkierian avatar Feb 20 '19 01:02 Malkierian

They probably use outdated Gradle version or they switched to another plugin like Gretty. The easiest fix would be to downgrade.

czyzby avatar Feb 20 '19 07:02 czyzby

I actually ended up pulling their build files over, and modifying things to run with Gretty, then upgraded everything to 5.2.1 (had to convert to doLast from the << operators; that upgrade also included updating to the latest Android build tools and plugin versions). However, the problem is with your default setup, using the wrapper supplied by the installer (I don't have 4.0.2 installed locally), so it still needs to be addressed.

Malkierian avatar Feb 20 '19 08:02 Malkierian

I see, thanks for the report. Would you mind uploading your Gretty configuration (or just a build.gradle diff) in this issue or as a pull request?

czyzby avatar Feb 20 '19 15:02 czyzby

If I can get the :gwt project actually building. I managed to get the core project buildable, but for some reason, even though a library is included in the dependencies, compilegwt isn't finding it in the classpath. Although, to be fair, I hadn't tried compiling gwt specifically right out of the box yet, so it might be a core issue. I'll get back to you on that.

Malkierian avatar Feb 20 '19 17:02 Malkierian

anything on this issue yet?

Sashie avatar Oct 27 '19 15:10 Sashie