diff --git a/gradle/plugins/common/src/main/kotlin/junitbuild.native-image-properties.gradle.kts b/gradle/plugins/common/src/main/kotlin/junitbuild.native-image-properties.gradle.kts index 22c1e0f53831..cc14a0b5780d 100644 --- a/gradle/plugins/common/src/main/kotlin/junitbuild.native-image-properties.gradle.kts +++ b/gradle/plugins/common/src/main/kotlin/junitbuild.native-image-properties.gradle.kts @@ -19,6 +19,7 @@ val outputDir = layout.buildDirectory.dir("resources/nativeImage") val propertyFileTask = tasks.register("nativeImageProperties") { destinationFile = outputDir.map { it.file("META-INF/native-image/${project.group}/${project.name}/native-image.properties") } + // see https://www.graalvm.org/latest/reference-manual/native-image/overview/BuildConfiguration/#configuration-file-format property("Args", extension.initializeAtBuildTime.map { if (it.isEmpty()) { ""