Don't include binary jars in loader-tools source jar
Closes gh-28113
This commit is contained in:
parent
46b47b80aa
commit
5957dfeea4
|
|
@ -35,12 +35,6 @@ dependencies {
|
||||||
testImplementation("org.zeroturnaround:zt-zip:1.13")
|
testImplementation("org.zeroturnaround:zt-zip:1.13")
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
|
||||||
main {
|
|
||||||
resources.srcDirs generatedResources
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
task reproducibleLoaderJar(type: Jar) {
|
task reproducibleLoaderJar(type: Jar) {
|
||||||
dependsOn configurations.loader
|
dependsOn configurations.loader
|
||||||
from {
|
from {
|
||||||
|
|
@ -69,9 +63,10 @@ task reproducibleJarModeLayerToolsJar(type: Jar) {
|
||||||
destinationDirectory = file("${generatedResources}/META-INF/jarmode")
|
destinationDirectory = file("${generatedResources}/META-INF/jarmode")
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
sourceSets {
|
||||||
dependsOn reproducibleLoaderJar
|
main {
|
||||||
dependsOn reproducibleJarModeLayerToolsJar
|
output.dir(generatedResources, builtBy: [reproducibleJarModeLayerToolsJar, reproducibleLoaderJar])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue