aboutsummaryrefslogtreecommitdiff
path: root/test-fabric
diff options
context:
space:
mode:
authorisxander <xander@isxander.dev>2024-04-11 18:43:06 +0100
committerisxander <xander@isxander.dev>2024-04-11 18:43:06 +0100
commit04fe933f4c24817100f3101f088accf55a621f8a (patch)
treefeff94ca3ab4484160e69a24f4ee38522381950e /test-fabric
parent831b894fdb7fe3e173d81387c8f6a2402b8ccfa9 (diff)
downloadYetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.tar.gz
YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.tar.bz2
YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.zip
Extremely fragile and broken multiversion build with stonecutter
Diffstat (limited to 'test-fabric')
-rw-r--r--test-fabric/.gitignore42
-rw-r--r--test-fabric/build.gradle.kts61
-rw-r--r--test-fabric/src/main/resources/fabric.mod.json16
3 files changed, 0 insertions, 119 deletions
diff --git a/test-fabric/.gitignore b/test-fabric/.gitignore
deleted file mode 100644
index b63da45..0000000
--- a/test-fabric/.gitignore
+++ /dev/null
@@ -1,42 +0,0 @@
-.gradle
-build/
-!gradle/wrapper/gradle-wrapper.jar
-!**/src/main/**/build/
-!**/src/test/**/build/
-
-### IntelliJ IDEA ###
-.idea/modules.xml
-.idea/jarRepositories.xml
-.idea/compiler.xml
-.idea/libraries/
-*.iws
-*.iml
-*.ipr
-out/
-!**/src/main/**/out/
-!**/src/test/**/out/
-
-### Eclipse ###
-.apt_generated
-.classpath
-.factorypath
-.project
-.settings
-.springBeans
-.sts4-cache
-bin/
-!**/src/main/**/bin/
-!**/src/test/**/bin/
-
-### NetBeans ###
-/nbproject/private/
-/nbbuild/
-/dist/
-/nbdist/
-/.nb-gradle/
-
-### VS Code ###
-.vscode/
-
-### Mac OS ###
-.DS_Store \ No newline at end of file
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")
- }
-}
diff --git a/test-fabric/src/main/resources/fabric.mod.json b/test-fabric/src/main/resources/fabric.mod.json
deleted file mode 100644
index 83560f8..0000000
--- a/test-fabric/src/main/resources/fabric.mod.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "schemaVersion": 1,
- "id": "yacl_test",
- "version": "1",
- "name": "YACL Test",
- "license": "LGPL-3.0-or-later",
- "environment": "*",
- "entrypoints": {
- "modmenu": [
- "dev.isxander.yacl3.test.fabric.ModMenuEntrypoint"
- ]
- },
- "mixins": [
- "yacl-test.mixins.json"
- ]
-}