fabric/fabric-gametest-api-v1/build.gradle
ErrorCraft 51ad78441b Add a system property for a custom output directory for gametest structures (#3509)
* Add a check for the output directory in the test command

* Fix style and add a run configuration with the output directory set

* Update fabric-gametest-api-v1/build.gradle

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
(cherry picked from commit a21facc05f)
2024-01-11 15:50:43 +00:00

21 lines
501 B
Groovy

version = getSubprojectVersion(project)
loom {
accessWidenerPath = file("src/main/resources/fabric-gametest-api-v1.accesswidener")
runs {
testmodClient {
client()
name = "Testmod Client"
vmArg "-Dfabric-api.gametest.structures.output-dir=${file("src/testmod/resources/data/fabric-gametest-api-v1-testmod/gametest/structures")}"
ideConfigGenerated = false
source sourceSets.testmodClient
}
}
}
moduleDependencies(project, [
'fabric-api-base',
'fabric-resource-loader-v0'
])