Move org.json into core

This commit is contained in:
Alexander Söderberg 2020-04-11 02:28:15 +02:00
parent f9ea99fa1d
commit c196ced0e2
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ repositories {
def textVersion = "3.0.2"
dependencies {
compile group: 'org.json', name: 'json', version: '20190722'
implementation("org.yaml:snakeyaml:1.25")
implementation("com.google.code.gson:gson:2.8.6") {
because("Minecraft uses GSON 2.8.0")
@ -73,6 +74,7 @@ shadowJar {
include(dependency("net.kyori:text-serializer-legacy:3.0.2"))
include(dependency("net.kyori:text-serializer-plain:3.0.2"))
}
relocate("org.json", "com.github.intellectualsites.plotsquared.json")
relocate('net.kyori.text', 'com.github.intellectualsites.plotsquared.formatting.text')
}

View file

@ -83,7 +83,6 @@ subprojects {
exclude(module: "mockito-core")
exclude(module: "dummypermscompat")
}
compile group: 'org.json', name: 'json', version: '20190722'
implementation("net.kyori:text-api:3.0.2")
implementation("net.kyori:text-serializer-gson:3.0.2")