diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 16d2e53da0..425397321d 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -43,3 +43,9 @@ project.tasks.withType { // kotlinOptions.allWarningsAsErrors = true kotlinOptions.jvmTarget = javaMajorVersion.majorVersion } + +kotlin { + kotlinDslPluginOptions { + jvmTarget.set(javaMajorVersion.majorVersion) + } +}