Skip to content

Commit d8ab5e7

Browse files
committed
docs(buildSrc): Explain why only a few application options are hard-coded
Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent bd1237d commit d8ab5e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildSrc/src/main/kotlin/ort-application-conventions.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ plugins {
4646
}
4747

4848
application {
49+
// As the Java version used at runtime is not generally known, only hard-code some uncritical options.
4950
applicationDefaultJvmArgs = listOf(
5051
"--add-opens", "java.base/java.io=ALL-UNNAMED",
5152
"--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED"

0 commit comments

Comments
 (0)