In my root project’s build.gradle I’ve got:
subprojects {
	repositories {
	    // Use 'jcenter' for resolving your dependencies.
	    // You can declare any Maven/Ivy/file repository here.
	    jcenter()
	    
	    maven {
	        url "s3://repo.myco.com/maven"
	        credentials(AwsCredentials) {
	            accessKey "..."
	            secretKey "..."
	        }
	    }    
	}
}
In my sub project client I define a compile dependency:
compile 'com.myco:util:1.0.0'
When I try to compile I get:
$ gradle build
:shared:compileJava UP-TO-DATE
:shared:processResources UP-TO-DATE
:shared:classes UP-TO-DATE
:shared:jar UP-TO-DATE
:client:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':client:compile'.
> Not a supported repository protocol 's3': valid protocols are [file, http, https, sftp]
I’m using Gradle 2.10.
As far as I can see support for this went in in 2.4, what am I doing wrong?