This repository has been archived on 2024-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
wrench/build.gradle.kts

41 lines
1,016 B
Text
Raw Normal View History

2023-03-17 12:21:08 +01:00
2022-11-13 14:55:44 +01:00
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
2023-03-17 12:21:08 +01:00
kotlin("jvm") version "1.8.10"
id("org.jetbrains.compose") version "1.3.1"
2022-11-13 14:55:44 +01:00
}
group = "xyz.atnrch"
version = "dev"
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
implementation(compose.desktop.currentOs)
2022-11-24 13:27:39 +01:00
implementation(compose.materialIconsExtended)
implementation(compose.material3)
2022-11-13 14:55:44 +01:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.6.4")
2023-01-05 12:58:22 +01:00
implementation("com.google.code.gson:gson:2.10")
2022-11-13 14:55:44 +01:00
}
tasks.withType<KotlinCompile> {
2023-03-17 12:21:08 +01:00
kotlinOptions.jvmTarget = "18"
2022-11-13 14:55:44 +01:00
}
compose.desktop {
application {
2022-11-24 15:27:48 +01:00
mainClass = "xyz.atnrch.wrench.WrenchApp"
2022-11-13 14:55:44 +01:00
nativeDistributions {
includeAllModules = true
2022-12-06 00:14:40 +01:00
targetFormats(TargetFormat.AppImage)
2022-11-13 14:55:44 +01:00
packageName = "Wrench"
packageVersion = "1.0.0"
}
}
}