Gradle: support moduleName option in KotlinJvmOptions

#KT-42058 Fixed
This commit is contained in:
Alexander Udalov
2020-09-20 18:35:05 +02:00
committed by Alexander Udalov
parent 0edbdaf0c7
commit cb5c317f91
6 changed files with 61 additions and 0 deletions
@@ -63,6 +63,7 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
)
var scriptTemplates: Array<String>? by FreezableVar(null)
@GradleOption(DefaultValues.StringNullDefault::class)
@Argument(value = "-module-name", valueDescription = "<name>", description = "Name of the generated .kotlin_module file")
var moduleName: String? by NullableStringFreezableVar(null)