2019-02-07 16:09:35 -08:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
}
|
|
|
|
|
2019-02-07 19:55:52 -08:00
|
|
|
val core: Project by rootProject.extra
|
|
|
|
val sponge: Project by rootProject.extra
|
2019-02-07 16:09:35 -08:00
|
|
|
|
|
|
|
description = "mcMMO for Sponge"
|
|
|
|
|
2019-02-07 19:55:52 -08:00
|
|
|
repositories {
|
|
|
|
// sponge
|
|
|
|
maven("https://repo.spongepowered.org/maven")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(group="org.spongepowered", name="spongeapi", version="7.1.0") // Base version
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
dependencies {
|
|
|
|
compile(core)
|
2019-02-07 16:09:35 -08:00
|
|
|
}
|
2019-02-07 17:10:08 -08:00
|
|
|
}
|
|
|
|
|
2019-02-07 19:55:52 -08:00
|
|
|
subprojects {
|
2019-02-07 17:10:08 -08:00
|
|
|
dependencies {
|
2019-02-07 19:55:52 -08:00
|
|
|
(compile(sponge) as ModuleDependency).apply {
|
|
|
|
exclude("org.spongepowered")
|
|
|
|
}
|
2019-02-07 17:10:08 -08:00
|
|
|
}
|
2019-02-07 19:55:52 -08:00
|
|
|
}
|
|
|
|
|