Produce pom.xml instead of shading deps of deps

This commit is contained in:
Jonas Herzig
2017-10-03 18:00:24 +02:00
parent c07e08386d
commit ba4aaa3654
9 changed files with 74 additions and 121 deletions

View File

@@ -27,8 +27,27 @@ allprojects {
repositories.all convertRepoToHttp
apply plugin: de.johni0702.gradle.ReproducibleBuildsPlugin, to: project
apply plugin: xink.gradle.ecj.EcjPlugin, to: project
apply plugin: 'maven', to: project
ecj {
warn = ['none']
}
repositories {
maven {
url(project.file('gradle/reprod').exists() ? 'gradle/reprod/deps/repo' : '../repo')
}
}
task createPom {
doLast {
pom {
project {
groupId 'reprod'
artifactId project.file('.').name
version '0'
}
}.writeTo("pom.xml")
}
}
build.dependsOn createPom
}