mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-31 06:39:36 +01:00
e80c183894
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
30 lines
807 B
Plaintext
30 lines
807 B
Plaintext
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
plugins {
|
|
java
|
|
id("org.spongepowered.plugin") version "0.9.0" // supplies sponge repo and plugin metadata creation tasks
|
|
id("com.github.johnrengelman.shadow")
|
|
}
|
|
dependencies {
|
|
compile("org.spongepowered", "spongeapi", "7.1.0") // SpongeAPI
|
|
compile(project(":core"))
|
|
|
|
compile("org.bstats", "bstats-sponge", "1.4") // Sponge bstats
|
|
}
|
|
|
|
description = "mcMMO for Sponge"
|
|
|
|
val jar by tasks.getting(Jar::class) {
|
|
manifest {
|
|
attributes(mapOf(
|
|
"Implementation-Title" to "mcMMO",
|
|
"Implementation-Version" to rootProject.properties["pluginVersion"]!!
|
|
))
|
|
}
|
|
}
|
|
|
|
val shadowJar by tasks.getting(ShadowJar::class) {
|
|
dependencies {
|
|
include(project(":core"))
|
|
}
|
|
} |