Don't include binary jars in loader-tools source jar

Closes gh-28113
This commit is contained in:
Andy Wilkinson 2021-09-23 09:49:27 +01:00
parent 46b47b80aa
commit 5957dfeea4
1 changed files with 4 additions and 9 deletions

View File

@ -35,12 +35,6 @@ dependencies {
testImplementation("org.zeroturnaround:zt-zip:1.13")
}
sourceSets {
main {
resources.srcDirs generatedResources
}
}
task reproducibleLoaderJar(type: Jar) {
dependsOn configurations.loader
from {
@ -69,9 +63,10 @@ task reproducibleJarModeLayerToolsJar(type: Jar) {
destinationDirectory = file("${generatedResources}/META-INF/jarmode")
}
processResources {
dependsOn reproducibleLoaderJar
dependsOn reproducibleJarModeLayerToolsJar
sourceSets {
main {
output.dir(generatedResources, builtBy: [reproducibleJarModeLayerToolsJar, reproducibleLoaderJar])
}
}
compileJava {