You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
546 B

import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/")
}
plugins {
kotlin("jvm")
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin")
}
tasks.withType<KotlinCompile<*>>().configureEach {
kotlinOptions {
languageVersion = "1.9"
apiVersion = "1.9"
}
}