From ef5463efe8c0f24f3e246eb21f53b042ec03002e Mon Sep 17 00:00:00 2001 From: alexcrea Date: Tue, 27 Feb 2024 18:43:56 +0100 Subject: [PATCH] add gui library --- build.gradle.kts | 6 +++++- src/main/resources/plugin.yml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index d929515..6780b90 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,6 +17,10 @@ dependencies { compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT") + // Gui library + compileOnly("com.github.stefvanschie.inventoryframework:IF:0.10.13") + + testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") @@ -30,7 +34,7 @@ tasks.getByName("test") { // Fat-jar builder val fatJar = tasks.register("fatJar") { manifest { - attributes.apply { put("Main-Class", "io.delilaheve.UnsafeEnchants") } + attributes.apply { put("Main-Class", "io.delilaheve.CustomAnvil") } } archiveFileName.set("${rootProject.name}-${archiveVersion}.jar") exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA") diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 8a591ae..639910e 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -8,6 +8,8 @@ load: POSTWORLD authors: [DelilahEve, alexcrea] libraries: - org.jetbrains.kotlin:kotlin-stdlib:1.6.21 + - com.github.stefvanschie.inventoryframework:IF:0.10.13 + commands: anvilconfigreload: description: Reload every config of this plugin