mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 23:58:02 -05:00
24 lines
496 B
Groovy
24 lines
496 B
Groovy
archivesBaseName = "fabric-gametest-api-v1"
|
|
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
|