2023-09-18 14:06:53 +00:00
|
|
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("jvm")
|
|
|
|
id("org.jetbrains.compose")
|
2023-12-05 15:05:16 +00:00
|
|
|
kotlin("plugin.serialization") version "1.5.30"
|
2023-09-18 14:06:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "com.example"
|
|
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
|
2024-01-12 13:14:19 +00:00
|
|
|
|
|
|
|
|
2023-09-18 14:06:53 +00:00
|
|
|
dependencies {
|
|
|
|
// Note, if you develop a library, you should use compose.desktop.common.
|
|
|
|
// compose.desktop.currentOs should be used in launcher-sourceSet
|
|
|
|
// (in a separate module for demo project and in testMain).
|
|
|
|
// With compose.desktop.common you will also lose @Preview functionality
|
|
|
|
implementation(compose.desktop.currentOs)
|
2023-11-23 10:43:20 +00:00
|
|
|
implementation(kotlin("stdlib"))
|
|
|
|
implementation("mysql:mysql-connector-java:8.0.23")
|
2023-12-04 10:28:16 +00:00
|
|
|
implementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.9.2")
|
2023-11-23 10:43:20 +00:00
|
|
|
implementation("org.jetbrains.compose.material:material:1.0.0-beta-02")
|
|
|
|
implementation("org.jetbrains.compose.ui:ui:1.0.0-beta-02")
|
|
|
|
implementation("org.jetbrains.compose.foundation:foundation:1.0.0-beta-02")
|
|
|
|
implementation("org.jetbrains.compose.desktop:desktop:1.0.0-beta-02")
|
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
|
|
|
|
implementation("io.ktor:ktor-client-cio:1.6.3")
|
|
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.30")
|
|
|
|
implementation("com.almworks.sqlite4java:sqlite4java:1.0.392")
|
|
|
|
implementation("io.ktor:ktor-server-netty:1.6.3")
|
2023-12-05 15:05:16 +00:00
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2")
|
2023-11-23 10:43:20 +00:00
|
|
|
implementation("io.ktor:ktor-html-builder:1.6.3")
|
2023-12-06 13:45:03 +00:00
|
|
|
implementation("junit:junit:4.13.1")
|
|
|
|
testImplementation("junit:junit:4.13.1")
|
2023-12-07 12:47:30 +00:00
|
|
|
implementation("org.apache.poi:poi:5.0.0")
|
|
|
|
implementation("org.apache.poi:poi-ooxml:5.0.0")
|
2024-01-17 14:59:21 +00:00
|
|
|
|
2023-12-21 14:14:59 +00:00
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
2023-09-18 14:06:53 +00:00
|
|
|
}
|
|
|
|
|
2023-12-21 14:14:59 +00:00
|
|
|
|
2023-09-18 14:06:53 +00:00
|
|
|
compose.desktop {
|
|
|
|
application {
|
2024-01-12 13:14:19 +00:00
|
|
|
mainClass = "main.MainKt"
|
2023-09-18 14:06:53 +00:00
|
|
|
|
|
|
|
nativeDistributions {
|
|
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
2024-01-12 13:14:19 +00:00
|
|
|
packageName = "QualiNomme"
|
2023-09-18 14:06:53 +00:00
|
|
|
packageVersion = "1.0.0"
|
2024-01-12 13:14:19 +00:00
|
|
|
windows {
|
|
|
|
// a version for all Windows distributables
|
|
|
|
packageVersion = "1.0.0"
|
|
|
|
// a version only for the msi package
|
|
|
|
msiPackageVersion = "1.0.0"
|
|
|
|
// a version only for the exe package
|
|
|
|
exePackageVersion = "1.0.0"
|
|
|
|
}
|
2023-09-18 14:06:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|