1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-01 01:57:55 +00:00

More Gradle cleanup

Mostly configuration cache support. And an aborted attempt at updating
spotless, which just resulted in a bunch of ktlint issues :/.
This commit is contained in:
Jonathan Coates
2025-01-13 21:54:20 +00:00
parent ef0af67e96
commit 8204944b5f
16 changed files with 87 additions and 145 deletions

View File

@@ -95,14 +95,14 @@ val illuaminateDocs by tasks.registering(cc.tweaked.gradle.IlluaminateExecToDir:
// Sources
inputs.files(rootProject.fileTree("doc")).withPropertyName("docs")
inputs.files(project(":core").fileTree("src/main/resources/data/computercraft/lua")).withPropertyName("lua rom")
inputs.files(project(":common").tasks.named("luaJavadoc"))
inputs.dir(project(":common").tasks.named<Javadoc>("luaJavadoc").map { it.destinationDir!! }).withPropertyName("luaJavadoc")
// Assets
inputs.files(rollup)
// Output directory. Also defined in illuaminate.sexp.
output = layout.buildDirectory.dir("illuaminate")
args = listOf("doc-gen")
args("doc-gen")
workingDir = rootProject.projectDir
}