diff options
Diffstat (limited to 'test-neoforge')
-rw-r--r-- | test-neoforge/.gitignore | 42 | ||||
-rw-r--r-- | test-neoforge/build.gradle.kts | 77 | ||||
-rw-r--r-- | test-neoforge/gradle.properties | 1 | ||||
-rw-r--r-- | test-neoforge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java | 10 | ||||
-rw-r--r-- | test-neoforge/src/main/resources/META-INF/mods.toml | 31 | ||||
-rw-r--r-- | test-neoforge/src/main/resources/pack.mcmeta | 6 |
6 files changed, 0 insertions, 167 deletions
diff --git a/test-neoforge/.gitignore b/test-neoforge/.gitignore deleted file mode 100644 index b63da45..0000000 --- a/test-neoforge/.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-neoforge/build.gradle.kts b/test-neoforge/build.gradle.kts deleted file mode 100644 index 32622d9..0000000 --- a/test-neoforge/build.gradle.kts +++ /dev/null @@ -1,77 +0,0 @@ -import org.gradle.kotlin.dsl.libs - -plugins { - alias(libs.plugins.architectury.loom) - alias(libs.plugins.shadow) -} - -architectury { - platformSetupLoomIde() - neoForge() -} - -loom { - silentMojangMappingsLicense() - - accessWidenerPath.set(project(":common").loom.accessWidenerPath) - - neoForge { - - } - - mods { - maybeCreate("forge").apply { - sourceSet(project(":neoforge").sourceSets.main.get()) - } - } -} - -val common by configurations.registering -val shadowCommon by configurations.registering -configurations.compileClasspath.get().extendsFrom(common.get()) -configurations["developmentNeoForge"].extendsFrom(common.get()) - -val minecraftVersion: String = libs.versions.minecraft.get() - -dependencies { - minecraft(libs.minecraft) - mappings(loom.layered { - officialMojangMappings() - parchment(libs.parchment) - }) - neoForge(libs.neoforge) - - implementation(libs.twelvemonkeys.imageio.core) - forgeRuntimeLibrary(libs.twelvemonkeys.imageio.core) - implementation(libs.twelvemonkeys.imageio.webp) - forgeRuntimeLibrary(libs.twelvemonkeys.imageio.webp) - implementation(libs.bundles.quilt.parsers) - forgeRuntimeLibrary(libs.bundles.quilt.parsers) - - "common"(project(path = ":test-common", configuration = "namedElements")) { isTransitive = false } - implementation(project(path = ":neoforge", configuration = "namedElements")) { isTransitive = false } - - "common"(project(path = ":common", configuration = "namedElements")) { isTransitive = false } -} - -tasks { - shadowJar { - exclude("fabric.mod.json") - 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("neoforge-$minecraftVersion") - } - - jar { - archiveClassifier.set("dev") - } -} diff --git a/test-neoforge/gradle.properties b/test-neoforge/gradle.properties deleted file mode 100644 index 7da18ea..0000000 --- a/test-neoforge/gradle.properties +++ /dev/null @@ -1 +0,0 @@ -loom.platform=neoforge diff --git a/test-neoforge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java b/test-neoforge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java deleted file mode 100644 index c27cdd8..0000000 --- a/test-neoforge/src/main/java/dev/isxander/yacl3/test/forge/ForgeTest.java +++ /dev/null @@ -1,10 +0,0 @@ -package dev.isxander.yacl3.test.forge; - -import net.neoforged.fml.common.Mod; - -@Mod("yacl_test") -public class ForgeTest { - public ForgeTest() { - - } -} diff --git a/test-neoforge/src/main/resources/META-INF/mods.toml b/test-neoforge/src/main/resources/META-INF/mods.toml deleted file mode 100644 index 6cb1824..0000000 --- a/test-neoforge/src/main/resources/META-INF/mods.toml +++ /dev/null @@ -1,31 +0,0 @@ -modLoader = "javafml" -loaderVersion = "[1,)" -#issueTrackerURL = "" -license = "LGPL-3.0-or-later" - -[[mods]] -modId = "yacl_test" -version = "1" -displayName = "YACL Test" -authors = "isXander" -description = ''' -Test mod for YACL -''' -#logoFile = "" - -[[mixins]] -config = "yacl-test.mixins.json" - -[[dependencies.yacl_test]] -modId = "neoforge" -mandatory = true -versionRange = "[20,)" -ordering = "NONE" -side = "BOTH" - -[[dependencies.yacl_test]] -modId = "minecraft" -mandatory = true -versionRange = "1.20.4" -ordering = "NONE" -side = "BOTH" diff --git a/test-neoforge/src/main/resources/pack.mcmeta b/test-neoforge/src/main/resources/pack.mcmeta deleted file mode 100644 index 8fbe236..0000000 --- a/test-neoforge/src/main/resources/pack.mcmeta +++ /dev/null @@ -1,6 +0,0 @@ -{ - "pack": { - "description": "Test YACL", - "pack_format": 14 - } -} |