Could not get unknown property 'generatedSourcesDir'
lucgirardin opened this issue · comments
Luc Girardin commented
I gave a quick try at using your plugin for one of my project. I get the following exception when running the gwtCompile task:
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'generatedSourcesDir' for main classes of type org.gradle.api.internal.tasks.DefaultSourceSetOutput.
at org.gradle.internal.metaobject.AbstractDynamicObject.getMissingProperty(AbstractDynamicObject.java:83)
at org.gradle.internal.metaobject.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:61)
at org.gradle.api.internal.tasks.DefaultSourceSetOutput_Decorated.getProperty(Unknown Source)
at us.ascendtech.gwt.common.GWTBaseTask.exec(GWTBaseTask.groovy:42)
Is it because you are expecting that some kind of annotation processor is used?
Matthew Davis commented
I see. Yeah I believe we have always used an annotation processor. I can make a change to not force it.
Luc Girardin commented
That would be great: I could continue testing right away then ;-)
Matthew Davis commented
Can you give version 0.4.11 a try?
Luc Girardin commented
Many thanks for changing this so rapidly: the issue is resolved and my multi-modules project do compile. I did spot a couple of smaller problems, but will report them as separate issues.