aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/projects/runconfigs/build.gradle
diff options
context:
space:
mode:
authormodmuss50 <modmuss50@gmail.com>2021-03-06 23:31:09 +0000
committermodmuss50 <modmuss50@gmail.com>2021-03-06 23:31:09 +0000
commite9c7c21ede178875e8ea86f7d6f06a53965785f4 (patch)
treefeb86c6ab35dc69c3fe713fd6f8a7bfb7b18cb73 /src/test/resources/projects/runconfigs/build.gradle
parentd1c40827612e1b309f03ba8ef84cb634fa7a7b9a (diff)
downloadarchitectury-loom-e9c7c21ede178875e8ea86f7d6f06a53965785f4.tar.gz
architectury-loom-e9c7c21ede178875e8ea86f7d6f06a53965785f4.tar.bz2
architectury-loom-e9c7c21ede178875e8ea86f7d6f06a53965785f4.zip
Add basic MultiProjectTest and a basic RunConfigTest
This should cover most of the main things now.
Diffstat (limited to 'src/test/resources/projects/runconfigs/build.gradle')
-rw-r--r--src/test/resources/projects/runconfigs/build.gradle33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/test/resources/projects/runconfigs/build.gradle b/src/test/resources/projects/runconfigs/build.gradle
new file mode 100644
index 00000000..dbdd21e5
--- /dev/null
+++ b/src/test/resources/projects/runconfigs/build.gradle
@@ -0,0 +1,33 @@
+plugins {
+ id 'fabric-loom'
+}
+
+loom {
+ runs {
+ testmodClient {
+ client()
+ ideConfigGenerated project.rootProject == project
+ name = "Testmod Client"
+ source sourceSets.main
+ }
+ testmodServer {
+ server()
+ ideConfigGenerated project.rootProject == project
+ name = "Testmod Server"
+ source sourceSets.main
+ }
+ autoTestServer {
+ inherit testmodServer
+ vmArg "-Dfabric.autoTest"
+ }
+ }
+}
+
+archivesBaseName = "fabric-example-mod"
+version = "1.0.0"
+
+dependencies {
+ minecraft "com.mojang:minecraft:1.16.5"
+ mappings "net.fabricmc:yarn:1.16.5+build.5:v2"
+ modImplementation "net.fabricmc:fabric-loader:0.11.2"
+} \ No newline at end of file