|
|
@ -62,7 +62,7 @@ tasks.register("resourcesJar", Jar) { jar ->
|
|
|
|
rename (".*", 'nested-reserved-!#\\$%&()*+,:=?@[]-meta-inf-resource.txt')
|
|
|
|
rename (".*", 'nested-reserved-!#\\$%&()*+,:=?@[]-meta-inf-resource.txt')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
classifier = 'resources'
|
|
|
|
archiveClassifier = 'resources'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
dependencies {
|
|
|
@ -88,7 +88,7 @@ def boolean isWindows() {
|
|
|
|
task.dependsOn resourcesJar
|
|
|
|
task.dependsOn resourcesJar
|
|
|
|
task.mainClass = "com.example.ResourceHandlingApplication"
|
|
|
|
task.mainClass = "com.example.ResourceHandlingApplication"
|
|
|
|
task.classpath = configurations.getByName(webServer)
|
|
|
|
task.classpath = configurations.getByName(webServer)
|
|
|
|
task.classifier = webServer
|
|
|
|
task.archiveClassifier = webServer
|
|
|
|
task.targetJavaVersion = project.getTargetCompatibility()
|
|
|
|
task.targetJavaVersion = project.getTargetCompatibility()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tasks.register("${webServer}BootJar", BootJar, configurer)
|
|
|
|
tasks.register("${webServer}BootJar", BootJar, configurer)
|
|
|
|