Skip to content

Commit d3fbef3

Browse files
committed
comments for argo Gson
1 parent 9aa3908 commit d3fbef3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ subprojects {
375375
if (project.hasProperty("jvmArgs")) {
376376
jvmArgs = project.property("jvmArgs").toString().split("\\s+".toRegex()).toList()
377377
} else {
378+
// Add java.time accessible for Gson used by argo
378379
jvmArgs = mutableListOf("--add-opens", "java.base/java.time=ALL-UNNAMED")
379380
}
380381

@@ -401,10 +402,11 @@ subprojects {
401402
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=localhost:5005")
402403
jvmFlags =
403404
listOf(
404-
// Make sure Spring DevTools is disabled in production as running it is a
405-
// security risk
405+
// Add java.time accessible for Gson used by argo
406406
"--add-opens",
407407
"java.base/java.time=ALL-UNNAMED",
408+
// Make sure Spring DevTools is disabled in production as running it is a
409+
// security risk
408410
"-Dspring.devtools.restart.enabled=false")
409411
ports = listOf("5005", "8080", "8081")
410412
// Docker Best Practice : run as non-root.

0 commit comments

Comments
 (0)