Forge Skeleton

This commit is contained in:
Brian Neumann-Fopiano
2026-06-11 19:03:18 -04:00
parent 5142c048c7
commit 65d4abe5c0
5 changed files with 62 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
group = 'art.arcane'
version = rootProject.version
dependencies {
implementation(project(':spi'))
}
processResources {
inputs.property('version', project.version)
filesMatching('META-INF/mods.toml') {
expand('version': project.version)
}
}
tasks.named('jar', Jar).configure {
archiveFileName.set("Iris-${project.version}-forge-skeleton.jar")
}
@@ -0,0 +1,25 @@
/*
* Iris is a World Generator for Minecraft Servers
* Copyright (c) 2026 Arcane Arts (Volmit Software)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package art.arcane.iris.forge;
public final class IrisForgeBootstrap {
public IrisForgeBootstrap() {
throw new UnsupportedOperationException("The Iris Forge adapter is a build skeleton; worldgen is not wired yet (see CROSSPLATFORM_PLAN.md Phase 5).");
}
}
@@ -0,0 +1,10 @@
modLoader = "javafml"
loaderVersion = "[1,)"
license = "GPL-3.0"
[[mods]]
modId = "irisworldgen"
version = "${version}"
displayName = "Iris"
description = "Iris World Generation Engine (Forge adapter - SKELETON, worldgen not yet wired)"
authors = "Arcane Arts (Volmit Software)"
+9 -1
View File
@@ -136,6 +136,14 @@ tasks.register('buildFabric', Copy) {
into(layout.projectDirectory.dir('dist'))
}
tasks.register('buildForge', Copy) {
group = 'iris'
dependsOn(':adapters:forge:jar')
from(project(':adapters:forge').layout.buildDirectory.file("libs/Iris-${project.version}-forge-skeleton.jar"))
rename { "Iris-${project.version}+mc${minecraftVersion}-forge-skeleton.jar" }
into(layout.projectDirectory.dir('dist'))
}
tasks.register('buildNeoforge', Copy) {
group = 'iris'
dependsOn(':adapters:neoforge:jar')
@@ -146,7 +154,7 @@ tasks.register('buildNeoforge', Copy) {
tasks.register('buildAll') {
group = 'iris'
dependsOn('buildBukkit', 'buildFabric', 'buildNeoforge', ':spi:jar')
dependsOn('buildBukkit', 'buildFabric', 'buildForge', 'buildNeoforge', ':spi:jar')
doLast {
File dist = layout.projectDirectory.dir('dist').asFile
File[] jars = dist.listFiles((java.io.FileFilter) { File f -> f.name.endsWith('.jar') })
+1
View File
@@ -74,4 +74,5 @@ include(':adapters:bukkit:plugin')
include(':adapters:bukkit:nms:v1_21_R7')
include(':adapters:bukkit:nms:v26_1_R1')
include(':adapters:fabric')
include(':adapters:forge')
include(':adapters:neoforge')