From 74685c149c56f292c0c2fb61cacecbf8ed205998 Mon Sep 17 00:00:00 2001
From: modmuss50 <modmuss50@gmail.com>
Date: Thu, 10 Sep 2020 17:36:46 +0100
Subject: [PATCH] Update loom to 0.5 (#1060)

You may need to run `--refresh-dependencies` if you have odd issues. Please ask if you need help.
---
 .github/workflows/build.yml          | 2 +-
 build.gradle                         | 6 +++++-
 fabric-game-rule-api-v1/build.gradle | 4 ----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 487916d3a..08b2d6b19 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,7 @@ jobs:
       - uses: eskatos/gradle-command-action@v1.3.2
         with:
           gradle-version: wrapper
-          arguments: check build publishToMavenLocal --stacktrace
+          arguments: check build publishToMavenLocal --stacktrace --parallel
           dependencies-cache-enabled: false
           configuration-cache-enabled: false
       - uses: actions/upload-artifact@v2
diff --git a/build.gradle b/build.gradle
index ba0baa502..626da71a2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,7 +9,7 @@ plugins {
 	id 'eclipse'
 	id 'idea'
 	id 'maven-publish'
-	id 'fabric-loom' version '0.4.28' apply false
+	id 'fabric-loom' version '0.5.25' apply false
 	id 'net.minecrell.licenser' version '0.4.1'
 	id "org.ajoberstar.grgit" version "3.1.1"
 	id 'com.matthewprenger.cursegradle' version "1.4.0"
@@ -80,6 +80,10 @@ allprojects {
 		dev
 	}
 
+	loom {
+		shareCaches = true
+	}
+
 	repositories {
 		mavenLocal()
 	}
diff --git a/fabric-game-rule-api-v1/build.gradle b/fabric-game-rule-api-v1/build.gradle
index 4da154a3c..365382de7 100644
--- a/fabric-game-rule-api-v1/build.gradle
+++ b/fabric-game-rule-api-v1/build.gradle
@@ -6,10 +6,6 @@ minecraft {
 }
 
 dependencies {
-	// MUST BE A DEPENDENCY, OTHERWISE COMPILE WILL FAIL IN "RuleListWidgetMixin"
-	// YOU'VE BEEN WARNED
-	compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
-
 	testmodCompile project(path: ':fabric-api-base', configuration: 'dev')
 	testmodCompile project(path: ':fabric-lifecycle-events-v1', configuration: 'dev')
 	testmodCompile project(path: ':fabric-resource-loader-v0', configuration: 'dev')