mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Split up dependencies for multiple version support.
The "core" module will house the entire abstraction layer of mcMMO, while the "bukkit" and "sponge" modules will house common code to share between the various versions being supported for each platform. Specifically, spigot will be split up based on the listener handlers being registered, and will be shadow packaged according to their targeted Minecraft version. Sponge's multi-version dependency will be based on the API version, since the only constant known between the various API versions is the plugin annotations and basic listener annotations. Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
This commit is contained in:
10
bukkit/1_13/build.gradle.kts
Normal file
10
bukkit/1_13/build.gradle.kts
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT") // Spigot API
|
||||
implementation("com.sk89q.worldguard", "worldguard-core", "7.0.0-SNAPSHOT") // WorldGuard
|
||||
implementation("com.sk89q.worldguard", "worldguard-legacy", "7.0.0-SNAPSHOT") // NEEDED
|
||||
}
|
Reference in New Issue
Block a user