From c583e32baba63dbe761b65410cfe74cbae3acf65 Mon Sep 17 00:00:00 2001 From: Potatoboy9999 <51728317+PotatoPresident@users.noreply.github.com> Date: Tue, 9 Apr 2024 20:24:02 -0700 Subject: [PATCH] Fix runtime issues --- build.gradle | 7 ++----- gradle.properties | 2 +- src/main/resources/fabric.mod.json | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index a6388ab..6671a78 100644 --- a/build.gradle +++ b/build.gradle @@ -27,21 +27,18 @@ dependencies { mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" - // Fabric API. This is technically optional, but you probably want it anyway. - modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - // Yes this has to be capitalised modImplementation "com.github.quiltservertools:Ledger:1.3.0+local" modImplementation "net.fabricmc:fabric-language-kotlin:1.9.4+kotlin.1.8.21" - implementation("com.zaxxer:HikariCP:5.0.1") + implementation(include("com.zaxxer:HikariCP:5.0.1")) // H2 implementation(include("com.h2database:h2:2.2.224")) // MySQL - implementation(include('mysql:mysql-connector-java:8.3.0')) + implementation(include('com.mysql:mysql-connector-j:8.3.0')) // PostgreSQL implementation(include("org.postgresql:postgresql:42.7.3")) diff --git a/gradle.properties b/gradle.properties index bc3cb9a..bc70814 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Done to increase the memory available to gradle. -org.gradle.jvmargs=-Xmx1G +org.gradle.jvmargs=-Xmx2G # Fabric Properties # check these on https://fabricmc.net/versions.html diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 4ce8b64..b01b8ea 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -19,7 +19,7 @@ "entrypoints": { "server": [ { - "value": "net.quiltservertools.ledger.databases.LedgerDatabases" + "value": "net.quiltservertools.ledger.databases.LedgerDatabases::INSTANCE" } ] },