Hi, 

> You're all set; the plugin will use the GWT dependencies from the Maven 
project.

The question - can I configure it with gradle?

I'm porting a GWT gradle-based Eclipse project from JDK 1.8 to JDK 17 (and 
from 2.8.2 to 2.9.0)
In Eclipse, there's typical JDK11+ error "The package org.xml.sax.helpers 
is accessible from more than one module" and it looks like the org.xml.sax 
classes shipped in gwt-dev.jar clash with jdk. Eclipse compiler somehow 
refers gwt-dev.jar. 
Command line gradle build succeeds OK.
If maven-central version of gwt-dev doesn't contain duplicating classes it 
would save the day. 

Is there a way to configure *gradle* project to force Eclipse plugin to use 
GWT version from gradle dependencies?

I have GWT 2.9.0 installed and added in Eclipse. To avoid referring this 
all-inclusive gwt-dev I removed GWT-2.9.0 from list of GWT SDKs in Eclipse 
settings, and now after importing/refreshing my gradle project the GWT 
plugin SDK selection doesn't contain 2.9.0 anymore even if I specify gradle 
dependency.

thank you

среда, 24 июля 2019 г. в 17:40:21 UTC+2, t.br...@gmail.com: 

>
>
> On Wednesday, July 24, 2019 at 5:14:42 PM UTC+2, Jim Douglas wrote:
>>
>> > Sure. Use a build tool of your choice and use the maven dependencies. 
>>
>> I don't know what that means. As far as I've ever known, developing a GWT 
>> application in Eclipse implies installing the GWT Plugin for Eclipse and 
>> picking a GWT SDK.
>>
>> http://www.gwtproject.org/usingeclipse.html
>>
>
> Nope.
> Install the GWT Eclipse Plugin (
> https://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html; 
> note that the SDKs are optional).
> Create (
> https://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/maven/Maven.html)
>  
> or import (
> https://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/workspace/Importing.html)
>  
> a Maven project using GWT.
> You're all set; the plugin will use the GWT dependencies from the Maven 
> project.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/3c3c529b-7334-4a22-8fce-e9f73d323e43n%40googlegroups.com.

Reply via email to