2025-01-20 20:45:31 +00:00
|
|
|
plugins {
|
2025-01-20 21:11:21 +00:00
|
|
|
id 'idea'
|
2025-01-20 20:45:31 +00:00
|
|
|
id "org.jetbrains.kotlin.jvm" version "2.1.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2025-01-20 21:11:21 +00:00
|
|
|
idea {
|
|
|
|
module {
|
|
|
|
downloadJavadoc = true
|
|
|
|
downloadSources = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-01-20 20:45:31 +00:00
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.register('runApp', JavaExec) {
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
2025-01-20 21:05:42 +00:00
|
|
|
mainClass = "pl.polgrabia.demos.kotlin.ProgramKt"
|
2025-01-20 20:45:31 +00:00
|
|
|
}
|