mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-09-30 07:37:31 +02:00
Moved SquirrelID relocation to core project. (#394)
This allows projects depending on core to properly use the ProfileService and ProfileResolver without themselves relocating the package.
This commit is contained in:
parent
c6442e6669
commit
72a392aca2
@ -1,3 +1,3 @@
|
|||||||
rootProject.name = 'worldguard'
|
rootProject.name = 'worldguard'
|
||||||
|
|
||||||
include 'worldguard-core', 'worldguard-sponge', 'worldguard-legacy'
|
include 'worldguard-core', 'worldguard-legacy'
|
||||||
|
@ -22,4 +22,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
build.dependsOn(shadowJar)
|
shadowJar {
|
||||||
|
relocate('com.sk89q.squirrelid', 'com.sk89q.worldguard.util.profile')
|
||||||
|
}
|
||||||
|
|
||||||
|
build.dependsOn(shadowJar { classifier = null })
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':worldguard-core')
|
compile project(path: ':worldguard-core', configuration: 'shadow')
|
||||||
compile 'org.bukkit:bukkit:1.13-R0.1-SNAPSHOT'
|
compile 'org.bukkit:bukkit:1.13-R0.1-SNAPSHOT'
|
||||||
compile 'com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT'
|
compile 'com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT'
|
||||||
compile ('com.sk89q:commandbook:2.3') {
|
compile ('com.sk89q:commandbook:2.3') {
|
||||||
@ -47,7 +47,6 @@ compile project(':worldguard-core')
|
|||||||
}
|
}
|
||||||
|
|
||||||
relocate('org.flywaydb', 'com.sk89q.worldguard.internal.flywaydb')
|
relocate('org.flywaydb', 'com.sk89q.worldguard.internal.flywaydb')
|
||||||
relocate('com.sk89q.squirrelid', 'com.sk89q.worldguard.util.profile')
|
|
||||||
relocate('org.json.simple', 'com.sk89q.worldguard.util.jsonsimple')
|
relocate('org.json.simple', 'com.sk89q.worldguard.util.jsonsimple')
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user