mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-27 10:05:35 -05:00
a21facc05f
* 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>
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'
|
|
])
|