mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 08:14:45 +00:00
The fabric, forge and neoforge builds resolved neither core's dependencies on IrisApi nor the IrisApi types the adapters read (ResourceId, BlockTurn), so none of them compiled. They apply the IrisApi source resolution like the root build and compile against iris-api. NativeStructureReferenceRepairTest drops the placement identity argument that NativeStructureStartPlan lost in batch 6.
55 lines
1.8 KiB
Groovy
55 lines
1.8 KiB
Groovy
/*
|
|
* 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/>.
|
|
*/
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
maven {
|
|
name = 'NeoForged'
|
|
url = uri('https://maven.neoforged.net/releases/')
|
|
}
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
|
|
}
|
|
|
|
rootProject.name = 'iris-neoforge'
|
|
|
|
dependencyResolutionManagement {
|
|
versionCatalogs {
|
|
libs {
|
|
from(files('../../gradle/libs.versions.toml'))
|
|
}
|
|
}
|
|
}
|
|
|
|
// Shared VolmLib source resolution; see gradle/volmlib-resolution.settings.gradle.
|
|
apply from: new File(settingsDir, '../../gradle/volmlib-resolution.settings.gradle').canonicalFile
|
|
// Core's own dependencies on IrisApi must resolve here too, and the adapter reads IrisApi types (ResourceId, BlockTurn).
|
|
apply from: new File(settingsDir, '../../gradle/irisapi-resolution.settings.gradle').canonicalFile
|
|
|
|
includeBuild('../..') {
|
|
dependencySubstitution {
|
|
substitute(module('art.arcane:core')).using(project(':core'))
|
|
substitute(module('art.arcane:spi')).using(project(':spi'))
|
|
}
|
|
}
|