steffenschaefer / gwt-gradle-plugin

Gradle plugin to support GWT (http://www.gwtproject.org/) related tasks.
Other
117 stars 45 forks source link

gwt-gradle-plugin uses deprecated api by Gradle 4.0 #114

Closed milesbennetdyson4 closed 7 years ago

milesbennetdyson4 commented 7 years ago

After adding this plugin to project and running it with Gradle 4.0 I get Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0 warning message. This line is responsible for it https://github.com/steffenschaefer/gwt-gradle-plugin/blob/master/gwt-gradle-plugin/src/main/java/de/richsource/gradle/plugins/gwt/GwtBasePlugin.java#L272.

sriharshachilakapati commented 7 years ago

Update the version of the library. Change it to 1.0.1-SNAPSHOT or something. I'll check it out what the latest it soon.

On Mon, 23 Oct 2017, 5:11 p.m. milesbennetdyson4, notifications@github.com wrote:

After adding this plugin to project and running it with Gradle 4.0 I get Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0 warning message. This line is responsible for it https://github.com/steffenschaefer/gwt-gradle-plugin/blob/master/gwt-gradle-plugin/src/main/java/de/richsource/gradle/plugins/gwt/GwtBasePlugin.java#L272 .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/steffenschaefer/gwt-gradle-plugin/issues/114, or mute the thread https://github.com/notifications/unsubscribe-auth/AEYWNGzeshYhxIFDR_cKWC2b9YcTLyW7ks5svHtsgaJpZM4QCs6Z .

sriharshachilakapati commented 7 years ago

This plugin is now not maintained. Please switch to this fork which is up to date: https://github.com/jiakuan/gwt-gradle-plugin

Use the version 1.0.3 instead.

milesbennetdyson4 commented 7 years ago

Great, it looks like switching it to that plugin solved my problem.