Use gradle-ecj-plugin to make reproducible builds JDK-independent

This commit is contained in:
Jonas Herzig
2017-09-03 21:07:13 +02:00
parent 5be2f36a78
commit c18644a208
3 changed files with 17 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ initscript {
}
dependencies {
classpath 'com.github.johni0702:gradle-reproducible-builds-plugin:4989ae9'
classpath 'com.github.johni0702:gradle-ecj-plugin:795736c'
}
}
@@ -22,6 +23,12 @@ allprojects {
buildscript {
repositories.all convertRepoToHttp
}
repositories { mavenCentral() } // for ecj
repositories.all convertRepoToHttp
apply plugin: de.johni0702.gradle.ReproducibleBuildsPlugin, to: project
apply plugin: xink.gradle.ecj.EcjPlugin, to: project
ecj {
warn = ['none']
}
}