2018-08-12 06:11:20 +02:00
|
|
|
|
|
|
|
description = 'dynmap'
|
|
|
|
|
2020-01-27 05:42:05 +01:00
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url 'https://jitpack.io'
|
|
|
|
}
|
2020-04-23 03:39:54 +02:00
|
|
|
maven {
|
|
|
|
url 'https://repo.codemc.org/repository/maven-snapshots'
|
|
|
|
}
|
2020-01-27 05:42:05 +01:00
|
|
|
}
|
|
|
|
|
2018-08-12 06:11:20 +02:00
|
|
|
dependencies {
|
2020-04-26 10:09:12 +02:00
|
|
|
compile group: 'org.bukkit', name: 'bukkit', version:'1.7.10-R0.1-SNAPSHOT'
|
2018-08-12 06:11:20 +02:00
|
|
|
compile 'com.nijikokun.bukkit:Permissions:3.1.6'
|
2019-12-15 19:53:50 +01:00
|
|
|
compile 'me.lucko.luckperms:luckperms-api:4.3'
|
2019-12-01 03:38:05 +01:00
|
|
|
compile 'net.luckperms:api:5.0'
|
2020-01-27 05:42:05 +01:00
|
|
|
compile('com.github.MilkBowl:VaultAPI:1.7') { transitive = false }
|
2020-04-26 10:09:12 +02:00
|
|
|
compileOnly 'com:skinsrestorer:13.7.5-20191221.213031-7@jar'
|
2018-09-04 02:09:37 +02:00
|
|
|
compile project(":dynmap-api")
|
2018-08-12 07:53:55 +02:00
|
|
|
compile project(path: ":DynmapCore", configuration: "shadow")
|
2018-08-12 06:11:20 +02:00
|
|
|
compile group: 'ru.tehkode', name: 'PermissionsEx', version:'1.19.1'
|
|
|
|
compile group: 'de.bananaco', name: 'bPermissions', version:'2.9.1'
|
|
|
|
compile group: 'com.platymuus.bukkit.permissions', name: 'PermissionsBukkit', version:'1.6'
|
|
|
|
compile group: 'org.anjocaido', name: 'EssentialsGroupManager', version:'2.10.1'
|
2019-12-01 03:38:05 +01:00
|
|
|
compile group: 'org.bstats', name: 'bstats-bukkit', version:'1.5'
|
2018-08-12 06:11:20 +02:00
|
|
|
compile group: 'com.googlecode.json-simple', name: 'json-simple', version:'1.1.1'
|
|
|
|
compile group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
|
2018-08-12 06:27:52 +02:00
|
|
|
compile project(':bukkit-helper')
|
2018-10-23 01:52:41 +02:00
|
|
|
implementation(project(':bukkit-helper-113-2')) {
|
|
|
|
transitive = false
|
|
|
|
}
|
2019-05-14 06:40:18 +02:00
|
|
|
implementation(project(':bukkit-helper-114-1')) {
|
|
|
|
transitive = false
|
|
|
|
}
|
2019-12-12 20:09:16 +01:00
|
|
|
implementation(project(':bukkit-helper-115')) {
|
|
|
|
transitive = false
|
|
|
|
}
|
2020-06-26 02:29:03 +02:00
|
|
|
implementation(project(':bukkit-helper-116')) {
|
|
|
|
transitive = false
|
|
|
|
}
|
2018-08-12 06:11:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
// replace stuff in mcmod.info, nothing else
|
|
|
|
from('src/main/resources') {
|
|
|
|
include "plugin.yml"
|
|
|
|
// replace version and mcversion
|
|
|
|
expand(
|
|
|
|
buildnumber: project.parent.ext.globals.buildNumber,
|
|
|
|
version: project.version
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
classifier = 'unshaded'
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
dependencies {
|
|
|
|
include(dependency('org.bstats::'))
|
2018-08-12 06:42:08 +02:00
|
|
|
include(dependency(':dynmap-api'))
|
2018-08-12 07:53:55 +02:00
|
|
|
include(dependency(":DynmapCore"))
|
2018-08-12 06:27:52 +02:00
|
|
|
include(dependency(':bukkit-helper'))
|
2018-10-23 01:52:41 +02:00
|
|
|
include(dependency(':bukkit-helper-113-2'))
|
2019-05-14 06:40:18 +02:00
|
|
|
include(dependency(':bukkit-helper-114-1'))
|
2019-12-12 20:09:16 +01:00
|
|
|
include(dependency(':bukkit-helper-115'))
|
2020-06-26 02:29:03 +02:00
|
|
|
include(dependency(':bukkit-helper-116'))
|
2018-08-12 06:11:20 +02:00
|
|
|
}
|
|
|
|
relocate('org.bstats', 'org.dynmap.bstats')
|
|
|
|
destinationDir = file '../target'
|
2018-08-24 04:13:07 +02:00
|
|
|
archiveName = "Dynmap-${parent.version}-spigot.jar"
|
2018-08-12 06:11:20 +02:00
|
|
|
classifier = ''
|
|
|
|
}
|
2018-08-24 04:13:07 +02:00
|
|
|
shadowJar.doLast {
|
|
|
|
task ->
|
|
|
|
ant.checksum file: task.archivePath
|
|
|
|
}
|
2018-08-12 06:11:20 +02:00
|
|
|
|
|
|
|
artifacts {
|
|
|
|
archives shadowJar
|
|
|
|
}
|