diff --git a/build.gradle.kts b/build.gradle.kts index f663dbc..e43a23d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -36,6 +36,9 @@ dependencies { compileOnly("com.willfp:EcoEnchants:12.5.1") compileOnly("com.willfp:eco:6.70.1") + // Disenchantment + compileOnly("cz.kominekjan:Disenchantment:v5.3.1") + // Include nms implementation(project(":nms:nms-common")) implementation(project(":nms:v1_17R1", configuration = "reobf")) diff --git a/settings.gradle.kts b/settings.gradle.kts index 4ccc5cc..e661a74 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,14 @@ +import java.net.URI + rootProject.name = "CustomAnvil" +// for Disenchantment dependency +sourceControl { + gitRepository(URI.create("https://github.com/H7KZ/Disenchantment.git")) { + producesModule("cz.kominekjan:Disenchantment") + } +} + // NMS subproject include("nms:nms-common") findProject(":nms:nms-common")?.name = "nms-common"