aboutsummaryrefslogtreecommitdiff
path: root/test-fabric/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'test-fabric/build.gradle.kts')
-rw-r--r--test-fabric/build.gradle.kts61
1 files changed, 0 insertions, 61 deletions
diff --git a/test-fabric/build.gradle.kts b/test-fabric/build.gradle.kts
deleted file mode 100644
index 17658cd..0000000
--- a/test-fabric/build.gradle.kts
+++ /dev/null
@@ -1,61 +0,0 @@
-plugins {
- alias(libs.plugins.architectury.loom)
- alias(libs.plugins.shadow)
-}
-
-architectury {
- platformSetupLoomIde()
- fabric()
-}
-
-loom {
- silentMojangMappingsLicense()
-
- accessWidenerPath.set(project(":common").loom.accessWidenerPath)
-}
-
-val common by configurations.registering
-val shadowCommon by configurations.registering
-configurations.compileClasspath.get().extendsFrom(common.get())
-configurations["developmentFabric"].extendsFrom(common.get())
-
-val minecraftVersion = libs.versions.minecraft.get()
-
-dependencies {
- minecraft(libs.minecraft)
- mappings(loom.layered {
- officialMojangMappings()
- parchment(libs.parchment)
- })
- modImplementation(libs.fabric.loader)
-
- implementation(libs.twelvemonkeys.imageio.core)
- implementation(libs.twelvemonkeys.imageio.webp)
- implementation(libs.bundles.quilt.parsers)
-
- "common"(project(path = ":test-common", configuration = "namedElements")) { isTransitive = false }
- implementation(project(path = ":fabric", configuration = "namedElements"))
-
- "common"(project(path = ":common", configuration = "namedElements")) { isTransitive = false }
-}
-
-tasks {
- shadowJar {
- exclude("architectury.common.json")
-
- configurations = listOf(shadowCommon.get())
- archiveClassifier.set("dev-shadow")
- }
-
- remapJar {
- injectAccessWidener.set(true)
- inputFile.set(shadowJar.get().archiveFile)
- dependsOn(shadowJar)
-
- archiveClassifier.set("fabric-$minecraftVersion")
- }
-
- jar {
- archiveClassifier.set("dev")
- }
-}