But you can also set that in your `build.gradle.kt...
# ktor
r
But you can also set that in your
build.gradle.kts
file, but set the value to whatever it is in the system property, and that will effectively pass along the value to the application process.
Copy code
application {
  mainClassName = main_class

  applicationDefaultJvmArgs = listOf(
    "-server",
    "-Djava.awt.headless=true",
    "-Dio.ktor.development=${System.getProperty("io.ktor.development") ?: "false"}",
    "-Xms128m",
    "-Xmx256m",
    "-XX:+UseG1GC",
    "-XX:MaxGCPauseMillis=100"
  )
}