generated from rnentjes/kotlin-server-web-undertow
Refactor MTMCConsole, enhance RegisterView with dynamic flag indicators, update ConsoleView for better output handling, add JavaExec task in Gradle, and update dependencies, styles, and Gradle wrapper version.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@file:OptIn(ExperimentalDistributionDsl::class)
|
||||
|
||||
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
|
||||
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalDistributionDsl
|
||||
|
||||
plugins {
|
||||
@@ -21,7 +22,15 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
jvm()
|
||||
jvm {
|
||||
@OptIn(ExperimentalKotlinGradlePluginApi::class)
|
||||
binaries {
|
||||
// Configures a JavaExec task named "runJvm" and a Gradle distribution for the "main" compilation in this target
|
||||
executable {
|
||||
mainClass.set("mtmc.MainKt")
|
||||
}
|
||||
}
|
||||
}
|
||||
js {
|
||||
binaries.executable()
|
||||
browser {
|
||||
@@ -40,9 +49,6 @@ kotlin {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
api("nl.astraeus:kotlin-simple-logging:1.1.1")
|
||||
api("nl.astraeus:kotlin-css-generator:1.0.10")
|
||||
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.0")
|
||||
}
|
||||
}
|
||||
val commonTest by getting
|
||||
@@ -72,4 +78,4 @@ kotlin {
|
||||
}
|
||||
val jsTest by getting
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user