mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 15:47:57 -05:00
51ad78441b
* 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
)
21 lines
501 B
Groovy
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'
|
|
])
|