I have got the following error when altering one of the samples:

"No such property: myJar for class:
org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler"

This occurs when the task is defined after the configuration and
artifacts section. Taking the samples/userguide/artifacts/upload
project as an example, change:

task myJar(type: Jar)
artifacts {
    archives myJar
}

to:

artifacts {
    archives myJar
}
task myJar(type: Jar)

and run gradle uploadArchives to reproduce.

I could not find anything in the documentation specifically about
ordering of definitions in the build file, is there something I have
missed or is this just a bug?

Thanks,

-Mike

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

    http://xircles.codehaus.org/manage_email


Reply via email to