mirror of
https://github.com/jlengrand/intro-to-kotlin.git
synced 2026-03-10 08:21:17 +00:00
31 lines
491 B
Kotlin
31 lines
491 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm") version "1.6.21"
|
|
application
|
|
}
|
|
|
|
group = "nl.jlengrand"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
|
|
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
application {
|
|
mainClass.set("MainKt")
|
|
} |