2019-04-15 12:31:47 +02:00
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
group 'com.songoda.fabledskyblock'
|
2019-06-20 08:25:36 +02:00
|
|
|
version 'Build-77'
|
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')
|
2019-05-11 02:01:37 +02:00
|
|
|
implementation (group: 'me.clip', name: 'placeholderapi', version: '2.10.2')
|
2019-04-15 12:31:47 +02:00
|
|
|
|
|
|
|
// Vault
|
|
|
|
implementation (group: 'net.milkbowl', name: 'vault', version: '1.7.1')
|
|
|
|
|
|
|
|
// Leaderheads
|
|
|
|
implementation (group: 'me.robin', name: 'leaderheads', version: '1.0')
|
|
|
|
|
|
|
|
// EpicSpawners
|
2019-05-26 01:34:54 +02:00
|
|
|
implementation (group: 'com.songoda', name: 'epicspawners', version: '6-pre4')
|
2019-05-27 03:14:36 +02:00
|
|
|
|
|
|
|
// EpicAnchors
|
|
|
|
implementation (group: 'com.songoda', name: 'epicanchors', version: '1.2.5')
|
2019-06-05 11:50:07 +02:00
|
|
|
|
|
|
|
// UltimateStacker
|
|
|
|
implementation (group: 'com.songoda', name: 'ultimatestacker', version: '1.3.1')
|
2019-04-15 12:31:47 +02:00
|
|
|
|
|
|
|
// WildStacker
|
2019-06-02 07:43:58 +02:00
|
|
|
implementation (group: 'com.bgsoftware', name: 'wildstacker-api', version: 'b15')
|
2019-04-15 12:31:47 +02:00
|
|
|
|
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')
|
|
|
|
|
2019-05-26 01:34:54 +02:00
|
|
|
// JetBrains Annotations
|
|
|
|
compile (group: 'org.jetbrains', name: 'annotations', version: '13.0')
|
|
|
|
|
2019-04-27 22:05:41 +02:00
|
|
|
// Songoda Updater
|
|
|
|
shade (group: 'com.songoda', name: 'songodaupdater', version: '1')
|
|
|
|
|
2019-04-15 12:31:47 +02:00
|
|
|
// Spigot
|
2019-05-26 08:44:19 +02:00
|
|
|
implementation (group: 'org.spigotmc', name: 'spigot', version: '1.14.1')
|
2019-04-15 12:31:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
2019-04-22 21:51:49 +02:00
|
|
|
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/**'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|