Fix build-time GraalVmProcessor warning (#1801)
This commit is contained in:
@@ -112,6 +112,15 @@ tasks {
|
|||||||
workingDir = file("run").also(File::mkdirs)
|
workingDir = file("run").also(File::mkdirs)
|
||||||
standardInput = System.`in` // Doesn't work?
|
standardInput = System.`in` // Doesn't work?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
withType<JavaCompile>().configureEach {
|
||||||
|
options.compilerArgs.addAll(
|
||||||
|
listOf(
|
||||||
|
"-Alog4j.graalvm.groupId=${project.group}",
|
||||||
|
"-Alog4j.graalvm.artifactId=${project.name}"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val projectVersion = version as String
|
val projectVersion = version as String
|
||||||
|
|||||||
Reference in New Issue
Block a user