Add Disenchantment as dependency

This commit is contained in:
alexcrea 2024-08-20 03:05:26 +02:00
parent 849f25f30b
commit 3c8810ed72
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F
2 changed files with 12 additions and 0 deletions

View file

@ -36,6 +36,9 @@ dependencies {
compileOnly("com.willfp:EcoEnchants:12.5.1") compileOnly("com.willfp:EcoEnchants:12.5.1")
compileOnly("com.willfp:eco:6.70.1") compileOnly("com.willfp:eco:6.70.1")
// Disenchantment
compileOnly("cz.kominekjan:Disenchantment:v5.3.1")
// Include nms // Include nms
implementation(project(":nms:nms-common")) implementation(project(":nms:nms-common"))
implementation(project(":nms:v1_17R1", configuration = "reobf")) implementation(project(":nms:v1_17R1", configuration = "reobf"))

View file

@ -1,5 +1,14 @@
import java.net.URI
rootProject.name = "CustomAnvil" rootProject.name = "CustomAnvil"
// for Disenchantment dependency
sourceControl {
gitRepository(URI.create("https://github.com/H7KZ/Disenchantment.git")) {
producesModule("cz.kominekjan:Disenchantment")
}
}
// NMS subproject // NMS subproject
include("nms:nms-common") include("nms:nms-common")
findProject(":nms:nms-common")?.name = "nms-common" findProject(":nms:nms-common")?.name = "nms-common"