Manually repack jar file after reobfJar task for reproducibility

This commit is contained in:
Jonas Herzig
2018-01-19 19:45:57 +01:00
parent d0e4475b40
commit dda9bc9c97

View File

@@ -66,4 +66,12 @@ allprojects {
}
}
}
project.tasks.all { task ->
if (task.name == 'reobfJar') {
task.doLast {
println 'Manually repacking archive after reobfJar task'
project.plugins.findPlugin(de.johni0702.gradle.ReproducibleBuildsPlugin.class).stripJar(task.getJar())
}
}
}
}