FabledSkyBlock/build.gradle

69 lines
1.7 KiB
Groovy
Raw Normal View History

2019-04-15 12:31:47 +02:00
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: 'java'
group 'com.songoda.fabledskyblock'
2019-04-24 06:38:43 +02:00
version 'Build-74'
2019-04-15 12:31:47 +02:00
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {
url 'http://repo.songoda.com/artifactory/private/'
}
}
2019-04-24 06:38:43 +02:00
configurations {
shade
compile.extendsFrom shade
}
2019-04-15 12:31:47 +02:00
dependencies {
// PlaceholderAPI
implementation (group: 'be.maximvdw', name: 'placeholderapi', version: '2.5.1')
implementation (group: 'me.clip', name: 'placeholderapi', version: '2.9.2')
// Vault
implementation (group: 'net.milkbowl', name: 'vault', version: '1.7.1')
// Leaderheads
implementation (group: 'me.robin', name: 'leaderheads', version: '1.0')
// EpicSpawners
implementation (group: 'com.songoda', name: 'epicspawners', version: '5.7.1')
// WildStacker
implementation (group: 'com.bgsoftware', name: 'wildstacker-api', version: 'b14')
2019-05-09 12:30:13 +02:00
// WorldEdit
implementation (group: 'com.sk89q', name: 'worldedit', version: '7.0.0')
2019-04-24 06:38:43 +02:00
// Apache Commons
shade (group: 'org.apache.commons', name: 'commons-lang3', version: '3.0')
shade (group: 'commons-io', name: 'commons-io', version: '2.5')
// Songoda Updater
shade (group: 'com.songoda', name: 'songodaupdater', version: '1')
2019-04-15 12:31:47 +02:00
// Spigot
implementation (group: 'org.spigotmc', name: 'spigot', version: '1.14')
2019-04-15 12:31:47 +02:00
}
processResources {
from (sourceSets.main.resources.srcDirs) {
include '**/*.yml'
filter ReplaceTokens, tokens: ["version": project.property("version")]
}
2019-04-24 06:38:43 +02:00
}
jar {
configurations.shade.each { dep ->
from (project.zipTree(dep)) {
exclude '**/*.yml'
exclude 'META-INF', 'META-INF/**'
}
}
}