BTW apparantly it works when I change the build.gradle to use a maven repository for publishing. So maybe it just doesn’t work for ‘flatDit’ publications?
apply plugin: ‘java’
apply plugin: ‘eclipse’
apply plugin: ‘maven’
sourceCompatibility = 1.5
version = ‘1.0’
group = ‘demo’
jar {
manifest {
attributes ‘Implementation-Title’: ‘Gradle Quickstart’, ‘Implementation-Version’: version
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: ‘commons-collections’, name: ‘commons-collections’, version: ‘3.2’
testCompile group: ‘junit’, name: ‘junit’, version: ‘4.+’
}
test {
systemProperties ‘property’: ‘value’
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: file("…/repos/maven").toURI())
}
}
}