Initial commit

This commit is contained in:
2023-10-31 08:05:17 +08:00
commit 08b11ca10a
63 changed files with 1841 additions and 0 deletions

1
desktopApp/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/build

View File

@@ -0,0 +1,29 @@
plugins {
autowire(libs.plugins.kotlin.multiplatform)
autowire(libs.plugins.jetbrains.compose)
}
group = property.project.groupName
kotlin {
jvm("desktop")
jvmToolchain(17)
sourceSets {
val desktopMain by getting {
dependencies {
implementation(projects.shared)
}
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
compose.desktop {
application {
mainClass = "MainKt"
}
}

View File

@@ -0,0 +1,12 @@
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import androidx.compose.ui.window.rememberWindowState
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
title = "__APP_NAME__",
state = rememberWindowState(width = 550.dp, height = 450.dp)
) { MainView() }
}