mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +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:
12
sponge/api7/build.gradle.kts
Normal file
12
sponge/api7/build.gradle.kts
Normal file
@ -0,0 +1,12 @@
|
||||
plugins {
|
||||
java
|
||||
// Apply the spongegradle plugin to generate the metadata file
|
||||
id("org.spongepowered.plugin") version "0.9.0" // supplies sponge repo and plugin metadata creation tasks
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile("org.spongepowered", "spongeapi", "7.1.0") // SpongeAPI
|
||||
compile("org.bstats", "bstats-sponge", "1.4") // Sponge bstats
|
||||
}
|
||||
|
||||
description = "mcMMO for Sponge"
|
Reference in New Issue
Block a user