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 'idea'
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')}" : ""
@ -62,6 +62,14 @@ runs {
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 {
maven {
url = "https://maven.blamejared.com"
@ -77,18 +85,18 @@ repositories {
dependencies {
implementation "net.neoforged:neoforge:${neo_version}"
compileOnly "mezz.jei:jei-${game_version}-common-api:${jei_version}"
compileOnly "mezz.jei:jei-${game_version}-neoforge-api:${jei_version}"
compileOnly "mezz.jei:jei-${jei_minecraft}-common-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}"
// runtimeOnly "vazkii.patchouli:Patchouli:${patchouli_version}"
// localRuntime "vazkii.patchouli:Patchouli:${patchouli_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"
runtimeOnly "curse.maven:mekanism-268560:5433143"
localRuntime "curse.maven:jade-324717:5591256"
localRuntime "curse.maven:mekanism-268560:5574951"
}
jar {
@ -113,7 +121,7 @@ processResources {
inputs.property('loader', project.loader)
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
}
}

View file

@ -5,20 +5,21 @@ org.gradle.daemon=false
mod_version=1.2.14
# Forge
game_version=1.21
neo_version=21.0.133-beta
game_version=1.21.1
neo_version=21.1.4
# mods.toml
loader=4
neo_version_range=[21.0.75-beta,)
neo_version_range=[21.0.143,)
minecraft_version_range=[1.21,1.22)
# Parchment (Mappings)
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
# Other mods
jei_version=19.3.1.23
patchouli_version=1.20.4-85-NEOFORGE
jei_minecraft=1.21
jei_version=19.7.0.92
patchouli_version=1.21-87-NEOFORGE-SNAPSHOT
patchouli_provider_version=1.20.4-1.0.10-Snapshot.7