I took an initial stab at starting with the DSL: credentials(AwsCredentials){ ... }
My fork is here: https://github.com/adrianbk/gradle/tree/maven-aws-s3 I was wondering if one of the devs could take a look? A couple of things feel a bit nasty and wanted to get some pointers. If you take a look at RepositoryCredentialsDslIntegrationTest the scenario 'passwordTyped' fails because I can't specify specific enough 'public void credentials(..)' methods in AbstractAuthenticationSupportedRepository to support different implementations of RepositoryCredentials. It feels a bit like a hack to get around how the ConfigureUtil/delegate stuff works. Wondering if there is a better approach or an example of how to use configuration closures with specific types in DSL's. -- View this message in context: http://gradle.1045684.n5.nabble.com/Contribution-request-add-support-for-SFtp-and-SSH-for-publishing-and-resolving-tp5712306p5713126.html Sent from the gradle-dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email