mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-30 03:26:07 -05:00
24 lines
496 B
Groovy
24 lines
496 B
Groovy
archivesBaseName = "fabric-gametest-api-v1"
|
|
version = getSubprojectVersion(project, "1.0.2")
|
|
|
|
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
|