Files
artlegend/desktop/build.gradle.kts
bill 24d78786db Initial LibGDX project scaffold for ArtLegend
Multi-module Gradle setup targeting Android (S-Pen) and Desktop (Wacom/LWJGL3).
Includes core game stub, Android launcher with immersive mode, and desktop launcher.
Asset directory shared across platforms. Gradle 8.6, Kotlin 1.9.23, LibGDX 1.12.1.
2026-05-04 11:44:40 -07:00

29 lines
662 B
Kotlin

plugins {
kotlin("jvm")
application
}
val gdxVersion: String by project
dependencies {
implementation(project(":core"))
implementation("com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion")
implementation("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop")
}
application {
mainClass.set("com.artlegend.DesktopLauncherKt")
}
kotlin {
jvmToolchain(17)
}
tasks.withType<Jar> {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes["Main-Class"] = "com.artlegend.DesktopLauncherKt"
}
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
}