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,015 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-11-26 21:07:41 +01:00
kotlin("jvm") version "1.9.10"
id("org.jetbrains.compose") version "1.5.2"
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)
2023-11-26 21:07:41 +01:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.7.3")
implementation("com.google.code.gson:gson:2.10.1")
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 {
2023-11-26 21:07:41 +01:00
mainClass = "xyz.atnrch.wrench.Wrench"
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"
}
}
}