plugins { id("world.phantasmal.jvm") } kotlin { sourceSets.configureEach { languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi") } } dependencies { implementation(project(":psolib")) implementation(project(":web:shared")) implementation("org.jsoup:jsoup:1.13.1") } tasks.register("generateAssets") { val outputFile = layout.buildDirectory.get().asFile.resolve("generatedAssets") outputs.dir(outputFile) classpath = sourceSets.main.get().runtimeClasspath mainClass.set("world.phantasmal.web.assetsGeneration.MainKt") args = listOf(outputFile.absolutePath) }