mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Move org.json into core
This commit is contained in:
parent
f9ea99fa1d
commit
c196ced0e2
@ -4,6 +4,7 @@ repositories {
|
|||||||
def textVersion = "3.0.2"
|
def textVersion = "3.0.2"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
compile group: 'org.json', name: 'json', version: '20190722'
|
||||||
implementation("org.yaml:snakeyaml:1.25")
|
implementation("org.yaml:snakeyaml:1.25")
|
||||||
implementation("com.google.code.gson:gson:2.8.6") {
|
implementation("com.google.code.gson:gson:2.8.6") {
|
||||||
because("Minecraft uses GSON 2.8.0")
|
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-legacy:3.0.2"))
|
||||||
include(dependency("net.kyori:text-serializer-plain: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')
|
relocate('net.kyori.text', 'com.github.intellectualsites.plotsquared.formatting.text')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -83,7 +83,6 @@ subprojects {
|
|||||||
exclude(module: "mockito-core")
|
exclude(module: "mockito-core")
|
||||||
exclude(module: "dummypermscompat")
|
exclude(module: "dummypermscompat")
|
||||||
}
|
}
|
||||||
compile group: 'org.json', name: 'json', version: '20190722'
|
|
||||||
|
|
||||||
implementation("net.kyori:text-api:3.0.2")
|
implementation("net.kyori:text-api:3.0.2")
|
||||||
implementation("net.kyori:text-serializer-gson:3.0.2")
|
implementation("net.kyori:text-serializer-gson:3.0.2")
|
||||||
|
Loading…
Reference in New Issue
Block a user