On Tuesday, August 2, 2016 at 6:35:05 PM UTC+2, Uwe Maurer wrote:
>
> Great that most dependencies are referenced now.
>
> You are right, the extra JDT library should not even be on the GWT 
> classpath.  
> We use the gwt-gradle-plugin to compile GWT projects with gradle, maybe 
> our configuration is not correct there.
>

I don't know gwt-gradle-plugin well, but quickly looking at its source, I 
don't think you can do that (without splitting the 'war' and 'gwt' into 
separate subprojects)
Maybe if you use something like:

configurations.gwt.exclude group: 'xxx.xxx.xxx', module: 'jdt'

or possibly using module replacement to tell Gradle that JDT is "replaced" 
by gwt-dev whenever both are in the same configuration:

dependencies {
    modules {
        module("xxx.xxx.xxx:jdt") {
            replacedBy("com.google.gwt:gwt-dev")
        }
    }
}

But because gwt-gradle-plugin doesn't use Configuration#extendsFrom, I'm 
not sure it'll work.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to