languageVersion

abstract val languageVersion: Property<String>

Target language version for the generated code.

Only valid when generateKotlinModels is true.

Possible values:

  • "1.5" (deprecated): base language version

  • "1.9": same as "1.5" but uses entries instead of values() in enums

Other versions might be added later as the Kotlin language evolves.

Default: use the Kotlin Gradle plugin version