add gui library

This commit is contained in:
alexcrea 2024-02-27 18:43:56 +01:00 committed by alexcrea
parent dda152280f
commit a44315b235
2 changed files with 7 additions and 1 deletions

View file

@ -17,6 +17,10 @@ dependencies {
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT") 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") testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
@ -30,7 +34,7 @@ tasks.getByName<Test>("test") {
// Fat-jar builder // Fat-jar builder
val fatJar = tasks.register<Jar>("fatJar") { val fatJar = tasks.register<Jar>("fatJar") {
manifest { manifest {
attributes.apply { put("Main-Class", "io.delilaheve.UnsafeEnchants") } attributes.apply { put("Main-Class", "io.delilaheve.CustomAnvil") }
} }
archiveFileName.set("${rootProject.name}-${archiveVersion}.jar") archiveFileName.set("${rootProject.name}-${archiveVersion}.jar")
exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA") exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA")

View file

@ -8,6 +8,8 @@ load: POSTWORLD
authors: [DelilahEve, alexcrea] authors: [DelilahEve, alexcrea]
libraries: libraries:
- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 - org.jetbrains.kotlin:kotlin-stdlib:1.6.21
- com.github.stefvanschie.inventoryframework:IF:0.10.13
commands: commands:
anvilconfigreload: anvilconfigreload:
description: Reload every config of this plugin description: Reload every config of this plugin