Fix build.gradle for linking resources
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
7d162d9cac
Commit
a35be5dffd
@ -63,9 +63,3 @@ dependencies {
|
|||||||
compileOnly files("${projectDir}/../lib/ProtocolLib.jar")
|
compileOnly files("${projectDir}/../lib/ProtocolLib.jar")
|
||||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
|
||||||
from("build/classes/java/main/META-INF/annotations/") {
|
|
||||||
into("de.steamwar.bausystem")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -82,11 +82,11 @@ dependencies {
|
|||||||
implementation project(":BauSystem_Main")
|
implementation project(":BauSystem_Main")
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
task buildResources(type: Copy) {
|
||||||
from("BauSystem_Main/build/classes/java/main/META-INF/annotations/") {
|
from("BauSystem_Main/build/classes/java/main/META-INF/annotations/")
|
||||||
into("de.steamwar.bausystem")
|
into("build/resources/main/de.steamwar.bausystem")
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
classes.finalizedBy(buildResources)
|
||||||
|
|
||||||
task buildProject {
|
task buildProject {
|
||||||
description 'Build this project'
|
description 'Build this project'
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren