mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Correct IF gradle config.
This commit is contained in:
parent
3c60e157e4
commit
2e29e7f04e
2 changed files with 8 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.9.24"
|
kotlin("jvm") version "1.9.24"
|
||||||
java
|
java
|
||||||
|
id("com.github.johnrengelman.shadow").version("7.1.2")
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "xyz.alexcrea"
|
group = "xyz.alexcrea"
|
||||||
|
|
@ -24,7 +25,7 @@ dependencies {
|
||||||
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT")
|
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT")
|
||||||
|
|
||||||
// Gui library
|
// Gui library
|
||||||
compileOnly("com.github.stefvanschie.inventoryframework:IF:0.10.14")
|
implementation("com.github.stefvanschie.inventoryframework:IF:0.10.14")
|
||||||
|
|
||||||
// Protocolib
|
// Protocolib
|
||||||
compileOnly("com.comphenix.protocol:ProtocolLib:5.1.0")
|
compileOnly("com.comphenix.protocol:ProtocolLib:5.1.0")
|
||||||
|
|
@ -62,3 +63,8 @@ val fatJar = tasks.register<Jar>("fatJar") {
|
||||||
tasks.getByName("build") {
|
tasks.getByName("build") {
|
||||||
dependsOn(fatJar)
|
dependsOn(fatJar)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Shadow recesary dependency
|
||||||
|
tasks.shadowJar {
|
||||||
|
relocate("com.github.stefvanschie.inventoryframework", "xyz.alexcrea.inventoryframework")
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ load: POSTWORLD
|
||||||
authors: [ DelilahEve, alexcrea ]
|
authors: [ DelilahEve, alexcrea ]
|
||||||
libraries:
|
libraries:
|
||||||
- org.jetbrains.kotlin:kotlin-stdlib:1.9.24
|
- org.jetbrains.kotlin:kotlin-stdlib:1.9.24
|
||||||
- com.github.stefvanschie.inventoryframework:IF:0.10.14
|
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
anvilconfigreload:
|
anvilconfigreload:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue