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.
This commit is contained in:
Paul Reilly 2023-08-28 18:17:12 -05:00
parent 51c96269d2
commit e71c167d5e
3 changed files with 16 additions and 3 deletions

View File

@ -8,8 +8,9 @@ repositories {
dependencies { dependencies {
library 'io.projectreactor:reactor-core:3.5.4' library 'io.projectreactor:reactor-core:3.5.4'
library 'io.github.classgraph:classgraph:4.8.162' library 'io.github.classgraph:classgraph:4.8.162'
library 'org.tomlj:tomlj:1.1.0' library 'com.electronwill.night-config:core:3.6.7'
library 'com.google.code.gson:gson:2.8.9' 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' api 'org.slf4j:slf4j-api:1.7.36'
testImplementation platform('org.junit:junit-bom:5.9.1') testImplementation platform('org.junit:junit-bom:5.9.1')
@ -21,7 +22,7 @@ bukkit {
description = "Freedom Network Suite Core Module (API & Library)" description = "Freedom Network Suite Core Module (API & Library)"
} }
var weight = 1 def weight = 1
test { test {
useJUnitPlatform() useJUnitPlatform()

View File

@ -9,6 +9,12 @@ repositories {
mavenCentral() mavenCentral()
} }
bukkit {
main = "fns.tyr.Tyr"
description = "SSH -> RCON Module for Freedom Network Suite"
depend = ["Patchwork", "Datura"]
}
dependencies { dependencies {
compileOnly project(":Patchwork") compileOnly project(":Patchwork")
compileOnly project(":Datura") compileOnly project(":Datura")

View File

@ -9,6 +9,12 @@ repositories {
mavenCentral() mavenCentral()
} }
bukkit {
main = "fns.veritas.Veritas"
description = "Discord Module for Freedom Network Suite"
depend = ["Patchwork", "Datura"]
}
dependencies { dependencies {
compileOnly project(":Patchwork") compileOnly project(":Patchwork")
compileOnly project(":Datura") compileOnly project(":Datura")