2022-12-06 20:18:53 +00:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("jvm") version "1.7.10"
|
2022-12-07 02:36:09 +00:00
|
|
|
id("org.jetbrains.compose") version "1.2.1"
|
2022-12-06 20:18:53 +00:00
|
|
|
application
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "me.balazs"
|
|
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2022-12-07 02:36:09 +00:00
|
|
|
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
|
|
|
google()
|
2022-12-06 20:18:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-12-07 02:36:09 +00:00
|
|
|
implementation(compose.desktop.currentOs)
|
2022-12-06 20:18:53 +00:00
|
|
|
testImplementation(kotlin("test"))
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
2022-12-07 02:36:09 +00:00
|
|
|
|
|
|
|
|
2022-12-06 20:18:53 +00:00
|
|
|
application {
|
|
|
|
mainClass.set("MainKt")
|
|
|
|
}
|