Update Loom to 0.10

This commit is contained in:
Jonas Herzig
2021-11-14 16:08:35 +01:00
parent 55f3a15db6
commit d2f27e3918
3 changed files with 7 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ buildscript {
dependencies { dependencies {
classpath 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0' classpath 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
if (fabric) { if (fabric) {
classpath 'fabric-loom:fabric-loom.gradle.plugin:0.8-SNAPSHOT' classpath 'fabric-loom:fabric-loom.gradle.plugin:0.10-SNAPSHOT'
} else if (mcVersion >= 11400) { } else if (mcVersion >= 11400) {
classpath('net.minecraftforge.gradle:ForgeGradle:5.0.5') { // the FG people still haven't learned to not do breaking changes classpath('net.minecraftforge.gradle:ForgeGradle:5.0.5') { // the FG people still haven't learned to not do breaking changes
exclude group: 'trove', module: 'trove' // preprocessor/idea requires more recent one exclude group: 'trove', module: 'trove' // preprocessor/idea requires more recent one
@@ -124,8 +124,8 @@ group= "com.replaymod"
archivesBaseName = "replaymod" archivesBaseName = "replaymod"
if (FABRIC) { if (FABRIC) {
minecraft { loom {
refmapName = 'mixins.replaymod.refmap.json' mixin.defaultRefmapName.set('mixins.replaymod.refmap.json')
runConfigs.all { runConfigs.all {
ideConfigGenerated = true ideConfigGenerated = true
} }
@@ -334,7 +334,7 @@ dependencies {
shadow "com.github.ReplayMod:ReplayStudio:c9de2f5", shadeExclusions shadow "com.github.ReplayMod:ReplayStudio:c9de2f5", shadeExclusions
implementation(jGui){ implementation(FABRIC ? dependencies.project(path: jGui.path, configuration: "namedElements") : jGui) {
transitive = false // FG 1.2 puts all MC deps into the compile configuration and we don't want to shade those transitive = false // FG 1.2 puts all MC deps into the compile configuration and we don't want to shade those
} }
shadow 'com.github.ReplayMod:lwjgl-utils:27dcd66' shadow 'com.github.ReplayMod:lwjgl-utils:27dcd66'

2
jGui

Submodule jGui updated: 31bcfabe67...8b28d1ce0c

View File

@@ -2,8 +2,8 @@ import groovy.json.JsonOutput
import java.io.ByteArrayOutputStream import java.io.ByteArrayOutputStream
plugins { plugins {
id("fabric-loom") version "0.8-SNAPSHOT" apply false id("fabric-loom") version "0.10-SNAPSHOT" apply false
id("com.replaymod.preprocess") version "123fb7a" id("com.replaymod.preprocess") version "7746c47"
id("com.github.hierynomus.license") version "0.15.0" id("com.github.hierynomus.license") version "0.15.0"
} }