From 3c8810ed727cc6998a24d0295185c6ea2a85f7b1 Mon Sep 17 00:00:00 2001 From: alexcrea <42614139+alexcrea@users.noreply.github.com> Date: Tue, 20 Aug 2024 03:05:26 +0200 Subject: [PATCH] Add Disenchantment as dependency --- build.gradle.kts | 3 +++ settings.gradle.kts | 9 +++++++++ 2 files changed, 12 insertions(+) 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"