phantasmal-world/web/assets-generation/build.gradle.kts
2021-07-25 17:24:42 +02:00

19 lines
484 B
Plaintext

plugins {
id("world.phantasmal.jvm")
}
dependencies {
implementation(project(":psolib"))
implementation(project(":web:shared"))
implementation("org.jsoup:jsoup:1.13.1")
}
tasks.register<JavaExec>("generateAssets") {
val outputFile = File(buildDir, "generatedAssets")
outputs.dir(outputFile)
classpath = sourceSets.main.get().runtimeClasspath
mainClass.set("world.phantasmal.web.assetsGeneration.MainKt")
args = listOf(outputFile.absolutePath)
}