tbee wrote:
> 
> 
> Oops. Too quick. I had my script for test call uploadArchives and forgot
> to change that back. Time to start digging into the uncommented sources of
> Gradle
> 
> 

It turns out that configuration is null in UploadTask.

    private Configuration configuration;
    ...
        logger.info("Publishing configurations: " + configuration);
        configuration.publish(repositories.getResolvers(), ...

This is a perfect example of what goes wrong with wrapping my head around
Gradle. The task has a setConfiguration. In ANT you know that you either
have to set such properties in the ANT task instance, and if you didn't you
get a correct exception telling you exactly what you have failed to set, or
the property is set by ANT. I would have assumed the last for
"configuration".
-- 
View this message in context: 
http://old.nabble.com/difference-between-uploadArchives-and-custom-task-tp26920056p26925834.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