mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-30 20:54:44 +02:00

Added the shadow plugin integration with the entire project. Indvidual modules each have their designated dependencies and each will assign various dependencies based on constants now made through buildSrc. Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
31 lines
654 B
Plaintext
31 lines
654 B
Plaintext
import Config.Libs.Sponge as Sponge
|
|
|
|
plugins {
|
|
java
|
|
}
|
|
|
|
val core = Projects.core!! // because it's a var and potentially null by declaration
|
|
val sponge = Projects.sponge!! // because it's a var and potentially null by declaration
|
|
|
|
description = "mcMMO for Sponge"
|
|
|
|
dependencies {
|
|
compile(Sponge.bstats) // Bstats is used for all sponge versions
|
|
compileOnly(Sponge.API7.api) // Base version
|
|
}
|
|
|
|
allprojects {
|
|
dependencies {
|
|
compile(Projects.core!!)
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
dependencies {
|
|
(compileOnly(sponge) as ModuleDependency).apply {
|
|
exclude(Sponge.Exclude.group, Sponge.Exclude.module)
|
|
}
|
|
}
|
|
}
|
|
|