Hello!
I see You have a lot of changes did from 0.5.2 version. I have a bit time
for Gradle investigation, upgraded to new 7.0 and my simple scripts are not
working anymore. Few things I discovered by myself but there is problem with
addAfterEvaluateListener. It seems that on 0.7 it should be the same
afterEvaluate so there is my code from master build.gradle:
subprojects {
  afterEvaluate { Project subproject ->
    task compileUnitTests (type: Compile, dependsOn: compile){
      println subproject.getName() + " TODO: configure the unit tests
compilation..."
    }
  }
}

All I need is to create new task for every subproject.
On multi-project build it runs once for "app" module and then gives:
Cause: Cannot add task ':web-main:compileUnitTests' as a task with that name
already exists.
BUILD FAILED

If I have changed scripts as expected, then there is a bug in afterEvaluate.
Please help!
-- 
View this message in context: 
http://www.nabble.com/addAfterEvaluateListener--%3E-afterEvaluate---tp24589609p24589609.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