plugins { `kotlin-dsl` } repositories { mavenCentral() } java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } tasks.withType { kotlinOptions { jvmTarget = "17" } } dependencies { implementation("org.jetbrains.kotlin", "kotlin-gradle-plugin", "1.6.20") implementation(gradleApi()) }