hello 
i'm using gradle 0.9.2 
my apiviz task looks like this: 

task apiviz (type: Javadoc, dependsOn: build) { 
    source sourceSets.main.allJava 
    options.classpath sourceSets.main.compileClasspath as List 
    options.docklet = "org.jboss.apiviz.APIviz" 
    options.docletpath = configurations.apivizConf as List 
} 

currently i have to duplicate this task definition in every module of my
multi-module project. if i try to put it in the base gradle file under
allProjects {}, i'm getting this error message: 

A problem occured evaluating project ':common'. 
Cause: You can't change a configuration which is not in unresolved state! 

is there anything to solve it and remove the duplication?

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/need-help-with-apiviz-task-for-multi-module-project-tp4674148p4674148.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