You cannot 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
415 B
Plaintext
29 lines
415 B
Plaintext
2 years ago
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
||
|
plugins {
|
||
|
kotlin("jvm") version "1.7.10"
|
||
|
application
|
||
|
}
|
||
|
|
||
|
group = "org.example"
|
||
|
version = "1.0-SNAPSHOT"
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation(kotlin("test"))
|
||
|
}
|
||
|
|
||
|
tasks.test {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
tasks.withType<KotlinCompile> {
|
||
|
kotlinOptions.jvmTarget = "1.8"
|
||
|
}
|
||
|
|
||
|
application {
|
||
|
mainClass.set("MainKt")
|
||
|
}
|