diff --git a/generator/build.gradle b/generator/build.gradle index 1968b44..bac054d 100644 --- a/generator/build.gradle +++ b/generator/build.gradle @@ -21,3 +21,10 @@ test { events "passed", "skipped", "failed" } } + +compileKotlin { + kotlinOptions.jvmTarget = 11 +} +compileTestKotlin { + kotlinOptions.jvmTarget = 11 +} diff --git a/pojos/build.gradle b/pojos/build.gradle index 020aaee..4c9967b 100644 --- a/pojos/build.gradle +++ b/pojos/build.gradle @@ -8,3 +8,10 @@ plugins { dependencies { implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0" } + +compileKotlin { + kotlinOptions.jvmTarget = 11 +} +compileTestKotlin { + kotlinOptions.jvmTarget = 11 +}