33 lines
No EOL
998 B
Kotlin
33 lines
No EOL
998 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
application
|
|
}
|
|
|
|
group = "de.moritzruth.lampenfieber"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
allprojects {
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions.jvmTarget = "16"
|
|
kotlinOptions.freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
|
|
kotlinOptions.freeCompilerArgs += "-opt-in=kotlin.ExperimentalUnsignedTypes"
|
|
kotlinOptions.freeCompilerArgs += "-opt-in=kotlin.contracts.ExperimentalContracts"
|
|
kotlinOptions.freeCompilerArgs += "-Xcontext-receivers"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(KotlinX.coroutines.core)
|
|
implementation(KotlinX.collections.immutable)
|
|
implementation(KotlinX.serialization.json)
|
|
implementation(KotlinX.datetime)
|
|
implementation("org.slf4j:slf4j-simple:_")
|
|
implementation("com.fazecast:jSerialComm:_")
|
|
implementation("io.github.oshai:kotlin-logging-jvm:_")
|
|
}
|
|
|
|
application {
|
|
mainClass.set("de.moritzruth.lampenfieber.MainKt")
|
|
} |