Implementation - GUI step
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "2.3.0"
|
||||
kotlin("plugin.compose") version "2.3.0"
|
||||
kotlin("plugin.serialization") version "2.3.0"
|
||||
id("org.jetbrains.compose") version "1.8.0"
|
||||
application
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("com.nano.lab2.MainKt")
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.knowm.xchart:xchart:3.8.8")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
|
||||
implementation(compose.desktop.currentOs)
|
||||
implementation(compose.material3)
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.named<Jar>("jar") {
|
||||
manifest {
|
||||
attributes["Main-Class"] = "com.nano.lab2.MainKt"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user