Update to 1.21.1

This commit is contained in:
Mrbysco 2024-08-11 20:30:35 +02:00
parent 0c493b9169
commit fc0bff23b4
2 changed files with 24 additions and 15 deletions

View file

@ -3,7 +3,7 @@ plugins {
id 'eclipse' id 'eclipse'
id 'idea' id 'idea'
id 'maven-publish' id 'maven-publish'
id 'net.neoforged.gradle.userdev' version '7.0.155' id 'net.neoforged.gradle.userdev' version '7.0.157'
} }
def buildSuffix = System.getenv('BUILD_NUMBER') ? "-b${System.getenv('BUILD_NUMBER')}" : "" def buildSuffix = System.getenv('BUILD_NUMBER') ? "-b${System.getenv('BUILD_NUMBER')}" : ""
@ -62,6 +62,14 @@ runs {
sourceSets.main.resources { srcDir 'src/generated/resources' } sourceSets.main.resources { srcDir 'src/generated/resources' }
// Sets up a dependency configuration called 'localRuntime'.
// This configuration should be used instead of 'runtimeOnly' to declare
// a dependency that will be present for runtime testing but that is
// "optional", meaning it will not be pulled by dependents of this mod.
configurations {
runtimeClasspath.extendsFrom localRuntime
}
repositories { repositories {
maven { maven {
url = "https://maven.blamejared.com" url = "https://maven.blamejared.com"
@ -77,18 +85,18 @@ repositories {
dependencies { dependencies {
implementation "net.neoforged:neoforge:${neo_version}" implementation "net.neoforged:neoforge:${neo_version}"
compileOnly "mezz.jei:jei-${game_version}-common-api:${jei_version}" compileOnly "mezz.jei:jei-${jei_minecraft}-common-api:${jei_version}"
compileOnly "mezz.jei:jei-${game_version}-neoforge-api:${jei_version}" compileOnly "mezz.jei:jei-${jei_minecraft}-neoforge-api:${jei_version}"
runtimeOnly "mezz.jei:jei-${game_version}-neoforge:${jei_version}" localRuntime "mezz.jei:jei-${jei_minecraft}-neoforge:${jei_version}"
compileOnly "vazkii.patchouli:Patchouli:${patchouli_version}" compileOnly "vazkii.patchouli:Patchouli:${patchouli_version}"
// runtimeOnly "vazkii.patchouli:Patchouli:${patchouli_version}" // localRuntime "vazkii.patchouli:Patchouli:${patchouli_version}"
compileOnly "xyz.brassgoggledcoders:PatchouliProvider:${patchouli_provider_version}" compileOnly "xyz.brassgoggledcoders:PatchouliProvider:${patchouli_provider_version}"
// runtimeOnly "xyz.brassgoggledcoders:PatchouliProvider:${patchouli_provider_version}" // localRuntime "xyz.brassgoggledcoders:PatchouliProvider:${patchouli_provider_version}"
runtimeOnly "curse.maven:jade-324717:5427817" localRuntime "curse.maven:jade-324717:5591256"
runtimeOnly "curse.maven:mekanism-268560:5433143" localRuntime "curse.maven:mekanism-268560:5574951"
} }
jar { jar {
@ -113,7 +121,7 @@ processResources {
inputs.property('loader', project.loader) inputs.property('loader', project.loader)
inputs.property('minecraft_version_range', project.minecraft_version_range) inputs.property('minecraft_version_range', project.minecraft_version_range)
filesMatching(['META-INF/mods.toml']) { filesMatching(['META-INF/neoforge.mods.toml']) {
expand 'version': project.version, 'neo_version_range': project.neo_version_range, 'loader': project.loader, 'minecraft_version_range': project.minecraft_version_range expand 'version': project.version, 'neo_version_range': project.neo_version_range, 'loader': project.loader, 'minecraft_version_range': project.minecraft_version_range
} }
} }

View file

@ -5,20 +5,21 @@ org.gradle.daemon=false
mod_version=1.2.14 mod_version=1.2.14
# Forge # Forge
game_version=1.21 game_version=1.21.1
neo_version=21.0.133-beta neo_version=21.1.4
# mods.toml # mods.toml
loader=4 loader=4
neo_version_range=[21.0.75-beta,) neo_version_range=[21.0.143,)
minecraft_version_range=[1.21,1.22) minecraft_version_range=[1.21,1.22)
# Parchment (Mappings) # Parchment (Mappings)
neogradle.subsystems.parchment.minecraftVersion=1.21 neogradle.subsystems.parchment.minecraftVersion=1.21
neogradle.subsystems.parchment.mappingsVersion=2024.07.07 neogradle.subsystems.parchment.mappingsVersion=2024.07.28
neogradle.subsystems.conventions.runs.create-default-run-per-type=false neogradle.subsystems.conventions.runs.create-default-run-per-type=false
# Other mods # Other mods
jei_version=19.3.1.23 jei_minecraft=1.21
patchouli_version=1.20.4-85-NEOFORGE jei_version=19.7.0.92
patchouli_version=1.21-87-NEOFORGE-SNAPSHOT
patchouli_provider_version=1.20.4-1.0.10-Snapshot.7 patchouli_provider_version=1.20.4-1.0.10-Snapshot.7