code-examples/2025/01/kotlin_demo1/build.gradle

17 lines
239 B
Groovy
Raw Normal View History

2025-01-20 20:45:31 +00:00
plugins {
id "org.jetbrains.kotlin.jvm" version "2.1.0"
}
repositories {
mavenCentral()
}
kotlin {
jvmToolchain(17)
}
tasks.register('runApp', JavaExec) {
classpath = sourceSets.main.runtimeClasspath
mainClass = "ProgramKt"
}