This is much better. The hasProperty should have syntax
project.hasProperty('artifactType').
Now there is another problem. The most good looking way to manage project
modules dependencies is to define them in module/build.gradle file. This is
my ejb-module-session/build.gradle:
artifactType = 'ejb'
evaluationDependsOn(':app')
dependsOn(':app')

I`ve tried another ways of defining that app is dependency project with no
success. When I call "gradle ejb-module-session:compile" I see that app gets
compiled but its output classes are not added to ejb classpath. I believe
that should work automatically. So the ejb compilation fails.

The project scanner in settings.gradle would be very nice cause if I have
folder with build.gradle file in it then it is project module for sure.
-- 
View this message in context: 
http://www.nabble.com/addAfterEvaluateListener--%3E-afterEvaluate---tp24589609p25381376.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to