Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

gwtCompile with sources across projects? #23

Closed
mschaefers opened this issue Feb 21, 2014 · 2 comments
Closed

gwtCompile with sources across projects? #23

mschaefers opened this issue Feb 21, 2014 · 2 comments
Labels

Comments

@mschaefers
Copy link

This might be an easy one, but I just can't figure out...

I try to compileGwt project A, which has compile dependencies to project B. Now, because project B contains code needed for compileGwt, by build fails with

No source code is available for type XYZ; did you forget to inherit a required module?

My question: How can I configure project A to make the gwt plugin see the sources of project B?

@jnehlmeier
Copy link

Take a look at: https://github.com/steffenschaefer/gwt-gradle-plugin/blob/master/examples/war-using-library/build.gradle

You need to adjust gwt.src for your project. I think at some point the plugin should figure this out itself and update gwt.src automatically, because if you have lots of small GWT modules as dependencies it becomes kind of annoying.

@mschaefers
Copy link
Author

That made my day :)

Thanks a lot!
Michael

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants