Fix a build error
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-09-23 09:20:39 +02:00
Ursprung fd0af779bc
Commit 4dd552d08d

Datei anzeigen

@ -87,8 +87,10 @@ task buildResources {
doLast { doLast {
File to = new File("${buildDir}/classes/java/main/META-INF/services/javax.annotation.processing.Processor") File to = new File("${buildDir}/classes/java/main/META-INF/services/javax.annotation.processing.Processor")
to.parentFile.mkdirs() to.parentFile.mkdirs()
to.createNewFile() if (!to.exists()) {
to.append("de.steamwar.linkage.LinkageProcessor\n") to.createNewFile()
to.append("de.steamwar.linkage.LinkageProcessor\n")
}
} }
} }
classes.finalizedBy(buildResources) classes.finalizedBy(buildResources)