From b7fda4dece21400d749db9bb870dc014334fa0bb Mon Sep 17 00:00:00 2001 From: alexcrea <42614139+alexcrea@users.noreply.github.com> Date: Wed, 19 Jun 2024 01:55:51 +0200 Subject: [PATCH] Add EcoEnchant api and eco as a dependency. Also updated kotlin. --- build.gradle.kts | 9 ++++++++- src/main/resources/plugin.yml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 7cffc9c..ca6a976 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - kotlin("jvm") version "1.6.21" + kotlin("jvm") version "1.9.24" java } @@ -12,6 +12,9 @@ repositories { // ProtocoLib maven (url = "https://repo.dmulloy2.net/repository/public/" ) + + // EcoEnchants + maven(url = "https://repo.auxilor.io/repository/maven-public/") } dependencies { @@ -29,6 +32,10 @@ dependencies { // EnchantsSquaredRewritten compileOnly(files("libs/EnchantsSquared.jar")) + // EcoEnchants + compileOnly("com.willfp:EcoEnchants:12.5.1") + compileOnly("com.willfp:eco:6.70.1") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 5575db9..9c68580 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -7,7 +7,7 @@ api-version: 1.16 load: POSTWORLD authors: [ DelilahEve, alexcrea ] libraries: - - org.jetbrains.kotlin:kotlin-stdlib:1.6.21 + - org.jetbrains.kotlin:kotlin-stdlib:1.9.24 - com.github.stefvanschie.inventoryframework:IF:0.10.14 commands: