diff --git a/build.gradle b/build.gradle index 22280bb..96ede2a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { - id "architectury-plugin" version "2.0.56" - id "forgified-fabric-loom" version "0.6.45" apply false + id "architectury-plugin" version "2.0.59" + id "forgified-fabric-loom" version "0.6.52" apply false } architectury { diff --git a/common/build.gradle b/common/build.gradle index e3b30c0..c24e194 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -28,10 +28,10 @@ dependencies { // Storage // LevelDB database - implementation group: 'org.iq80.leveldb', name: 'leveldb', version: '0.12' - implementation group: 'org.iq80.leveldb', name: 'leveldb-api', version: '0.12' - include group: 'org.iq80.leveldb', name: 'leveldb', version: '0.12' - include group: 'org.iq80.leveldb', name: 'leveldb-api', version: '0.12' + implementation 'org.iq80.leveldb:leveldb:0.12' + implementation 'org.iq80.leveldb:leveldb-api:0.12' + include 'org.iq80.leveldb:leveldb:0.12' + include 'org.iq80.leveldb:leveldb-api:0.12' // MongoDB driver implementation 'org.mongodb:mongodb-driver-sync:4.1.0' diff --git a/common/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java b/common/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java index 1cf60ca..c0f4ef2 100644 --- a/common/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java +++ b/common/src/main/java/org/samo_lego/simpleauth/SimpleAuth.java @@ -1,7 +1,5 @@ package org.samo_lego.simpleauth; -import net.fabricmc.loader.api.FabricLoader; -import net.minecraft.server.MinecraftServer; import org.samo_lego.simpleauth.storage.AuthConfig; import org.samo_lego.simpleauth.storage.DBHelper; import org.samo_lego.simpleauth.storage.PlayerCache; diff --git a/forge/build.gradle b/forge/build.gradle index ffd547f..c293707 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -14,6 +14,7 @@ loom { // Enable this for yarn to work //useFabricMixin = true mixinConfigs = ["mixins.simpleauth.json"] + useFabricMixin = true } dependencies {