mirror of
https://github.com/irmen/prog8.git
synced 2025-01-13 10:29:52 +00:00
f2cfcfdf31
cx16: charset switching enabled again on program exit. cx16: fileselector example: can now also show directories
35 lines
761 B
Plaintext
35 lines
761 B
Plaintext
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
import org.jetbrains.kotlin.gradle.internal.config.LanguageFeature
|
|
|
|
|
|
plugins {
|
|
kotlin("jvm") version "2.1.0"
|
|
}
|
|
|
|
allprojects {
|
|
apply(plugin="kotlin")
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
freeCompilerArgs = listOf("-Xwhen-guards")
|
|
jvmTarget = JvmTarget.JVM_11
|
|
}
|
|
sourceSets.all {
|
|
languageSettings {
|
|
// enable language features like so:
|
|
// enableLanguageFeature(LanguageFeature.WhenGuards.name)
|
|
}
|
|
}
|
|
}
|
|
|
|
java {
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|