Update loom to 0.6

This commit is contained in:
Jonas Herzig
2021-02-28 12:17:05 +01:00
parent 537795f9ca
commit 3440b8d8a8
3 changed files with 6 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ buildscript {
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
if (fabric) {
classpath 'fabric-loom:fabric-loom.gradle.plugin:0.5-SNAPSHOT'
classpath 'fabric-loom:fabric-loom.gradle.plugin:0.6-SNAPSHOT'
} else if (mcVersion >= 11400) {
classpath('net.minecraftforge.gradle:ForgeGradle:3.+'){
exclude group: 'trove', module: 'trove' // preprocessor/idea requires more recent one
@@ -124,7 +124,9 @@ archivesBaseName = "replaymod"
if (FABRIC) {
minecraft {
refmapName = 'mixins.replaymod.refmap.json'
autoGenIDERuns = true
runConfigs.all {
ideConfigGenerated = true
}
}
} else {
minecraft {

2
jGui

Submodule jGui updated: 96edf0fe31...3b654f3a38

View File

@@ -2,7 +2,7 @@ import groovy.json.JsonOutput
import java.io.ByteArrayOutputStream
plugins {
id("fabric-loom") version "0.5-SNAPSHOT" apply false
id("fabric-loom") version "0.6-SNAPSHOT" apply false
id("com.replaymod.preprocess") version "3d85a00"
id("com.github.hierynomus.license") version "0.15.0"
}
@@ -25,11 +25,6 @@ if (gitDescribe().endsWith("*")) {
group = "com.replaymod"
// Loom tries to find the active mixin version by recursing up to the root project and checking each project's
// compileClasspath and build script classpath (in that order). Since we've loom in our root project's classpath,
// loom will only find it after checking the root project's compileClasspath (which doesn't exist by default).
configurations.register("compileClasspath")
val shadowJar by tasks.creating(Copy::class) {
into("$buildDir/libs")
}