@@ -37,25 +37,25 @@ javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElement
3737 skip()
3838}
3939
40- tasks.named<Jar >(" jar" ) {
41- val kind = platform.kind.get()
42- val includeClasspath = platform.includeClasspath.get()
43- val extraAttributes = platform.extraAttributes.get()
40+ tasks.named<Jar >(" jar" ) {
41+ val kind = platform.kind.get()
42+ val includeClasspath = platform.includeClasspath.get()
43+ val extraAttributes = platform.extraAttributes.get()
4444
45- val version = project(" :worldedit-core" ).version
46- inputs.property(" version" , version)
47- val attributes = mutableMapOf (
45+ val version = project(" :worldedit-core" ).version
46+ inputs.property(" version" , version)
47+ val attributes = mutableMapOf (
4848 " Implementation-Version" to version,
4949 " WorldEdit-Version" to version,
5050 " WorldEdit-Kind" to kind.name,
5151 " Main-Class" to kind.mainClass
52- )
53- if (includeClasspath) {
54- attributes[" Class-Path" ] = listOf (" truezip" , " truevfs" , " js" )
52+ )
53+ if (includeClasspath) {
54+ attributes[" Class-Path" ] = listOf (" truezip" , " truevfs" , " js" )
5555 .map { " $it .jar" }
5656 .flatMap { listOf (it, " WorldEdit/$it " , " ../$it " , " ../WorldEdit/$it " ) }
5757 .joinToString(separator = " " )
58- }
59- attributes.putAll(extraAttributes)
60- manifest.attributes(attributes)
6158 }
59+ attributes.putAll(extraAttributes)
60+ manifest.attributes(attributes)
61+ }
0 commit comments