From e71c167d5e3d5eadcfc8f0881d97d52710f601eb Mon Sep 17 00:00:00 2001 From: Paul Reilly Date: Mon, 28 Aug 2023 18:17:12 -0500 Subject: [PATCH] Fix plugin-yml plugin errors & switch to night-config # Changes: - Migrate from com.google.gson:gson and com.tomlj:tomlj over to com.electronwill.night-config:core, toml, and json - Add the appropriate bukkit tags required by the minecrell/plugin-yml gradle plugin to Veritas and Tyr. --- Patchwork/build.gradle | 7 ++++--- Tyr/build.gradle | 6 ++++++ Veritas/build.gradle | 6 ++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Patchwork/build.gradle b/Patchwork/build.gradle index 5b8f357..fbf0c03 100644 --- a/Patchwork/build.gradle +++ b/Patchwork/build.gradle @@ -8,8 +8,9 @@ repositories { dependencies { library 'io.projectreactor:reactor-core:3.5.4' library 'io.github.classgraph:classgraph:4.8.162' - library 'org.tomlj:tomlj:1.1.0' - library 'com.google.code.gson:gson:2.8.9' + library 'com.electronwill.night-config:core:3.6.7' + library 'com.electronwill.night-config:toml:3.6.7' + library 'com.electronwill.night-config:json:3.6.7' api 'org.slf4j:slf4j-api:1.7.36' testImplementation platform('org.junit:junit-bom:5.9.1') @@ -21,7 +22,7 @@ bukkit { description = "Freedom Network Suite Core Module (API & Library)" } -var weight = 1 +def weight = 1 test { useJUnitPlatform() diff --git a/Tyr/build.gradle b/Tyr/build.gradle index 8e258d1..4bd615f 100644 --- a/Tyr/build.gradle +++ b/Tyr/build.gradle @@ -9,6 +9,12 @@ repositories { mavenCentral() } +bukkit { + main = "fns.tyr.Tyr" + description = "SSH -> RCON Module for Freedom Network Suite" + depend = ["Patchwork", "Datura"] +} + dependencies { compileOnly project(":Patchwork") compileOnly project(":Datura") diff --git a/Veritas/build.gradle b/Veritas/build.gradle index 777e8e8..afed021 100644 --- a/Veritas/build.gradle +++ b/Veritas/build.gradle @@ -9,6 +9,12 @@ repositories { mavenCentral() } +bukkit { + main = "fns.veritas.Veritas" + description = "Discord Module for Freedom Network Suite" + depend = ["Patchwork", "Datura"] +} + dependencies { compileOnly project(":Patchwork") compileOnly project(":Datura")