From 1bdc7ebab4c94fbb5fab8946a3f3e07cee389397 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Thu, 26 Nov 2020 18:33:32 +0200 Subject: Remove use of jsr annotations in guitest --- GuiTest/build.gradle | 4 +--- GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/GuiTest/build.gradle b/GuiTest/build.gradle index 1cc83d9..fea663e 100644 --- a/GuiTest/build.gradle +++ b/GuiTest/build.gradle @@ -31,8 +31,6 @@ dependencies { modApi "net.fabricmc:fabric-loader:${rootProject.loader_version}" modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_version}" - compileOnly ("com.google.code.findbugs:jsr305:3.0.2") { transitive = false } - implementation project(':') } @@ -66,4 +64,4 @@ task sourcesJar(type: Jar, dependsOn: classes) { jar { from "LICENSE" -} \ No newline at end of file +} diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java b/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java index 82188d2..ddbbe0a 100644 --- a/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java +++ b/GuiTest/src/main/java/io/github/cottonmc/test/GuiBlockEntity.java @@ -13,7 +13,7 @@ import net.minecraft.text.Text; import net.minecraft.util.collection.DefaultedList; import net.minecraft.util.math.BlockPos; -import javax.annotation.Nullable; +import org.jetbrains.annotations.Nullable; public class GuiBlockEntity extends BlockEntity implements ImplementedInventory, NamedScreenHandlerFactory { static final int INVENTORY_SIZE = 8; -- cgit