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

25 lines
496 B
Groovy
Raw Normal View History

archivesBaseName = "fabric-gametest-api-v1"
2021-09-21 06:41:06 -04:00
version = getSubprojectVersion(project, "1.0.1")
moduleDependencies(project, [
'fabric-api-base',
'fabric-resource-loader-v0'
])
loom {
runs {
gametest {
server()
name "Game Test"
vmArg "-Dfabric-api.gametest"
vmArg "-Dfabric-api.gametest.report-file=${project.buildDir}/junit.xml"
runDir "build/gametest"
// Specific to fabric api
source sourceSets.testmod
ideConfigGenerated true
}
}
}
test.dependsOn runGametest