dynmap/spigot/build.gradle

124 lines
4.0 KiB
Groovy
Raw Normal View History

2022-10-14 11:57:23 +02:00
plugins {
id "xyz.jpenilla.run-paper" version "1.0.6"
}
description = 'dynmap'
2022-02-10 22:00:41 +01:00
eclipse {
project {
name = "Dynmap(Spigot)"
2022-02-10 22:00:41 +01:00
}
}
repositories {
maven {
url 'https://jitpack.io'
}
maven {
2021-12-11 14:35:29 +01:00
url 'https://repo.codemc.org/repository/maven-releases/'
}
}
2018-08-12 06:11:20 +02:00
dependencies {
implementation group: 'org.bukkit', name: 'bukkit', version: '1.10.2-R0.1-SNAPSHOT'
implementation 'com.nijikokun.bukkit:Permissions:3.1.6'
implementation 'me.lucko.luckperms:luckperms-api:4.3'
implementation 'net.luckperms:api:5.0'
implementation('com.github.MilkBowl:VaultAPI:1.7') { transitive = false }
compileOnly 'net.skinsrestorer:skinsrestorer-api:14.2.+'
implementation project(":dynmap-api")
implementation project(path: ":DynmapCore", configuration: "shadow")
implementation group: 'ru.tehkode', name: 'PermissionsEx', version: '1.19.1'
implementation group: 'de.bananaco', name: 'bPermissions', version: '2.9.1'
implementation group: 'com.platymuus.bukkit.permissions', name: 'PermissionsBukkit', version: '1.6'
implementation group: 'org.anjocaido', name: 'EssentialsGroupManager', version: '2.10.1'
2021-11-13 00:44:33 +01:00
implementation group: 'org.bstats', name: 'bstats-bukkit', version: '2.2.1'
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
implementation project(':bukkit-helper')
implementation(project(':bukkit-helper-113-2')) {
transitive = false
}
implementation(project(':bukkit-helper-114-1')) {
2018-10-23 01:52:41 +02:00
transitive = false
}
implementation(project(':bukkit-helper-115')) {
2019-05-14 06:40:18 +02:00
transitive = false
}
implementation(project(':bukkit-helper-116')) {
2019-12-12 20:09:16 +01:00
transitive = false
}
implementation(project(':bukkit-helper-116-2')) {
transitive = false
}
implementation(project(':bukkit-helper-116-3')) {
2020-08-13 04:40:06 +02:00
transitive = false
}
implementation(project(':bukkit-helper-116-4')) {
2020-09-11 05:18:51 +02:00
transitive = false
}
implementation(project(':bukkit-helper-117')) {
transitive = false
}
implementation(project(':bukkit-helper-118')) {
transitive = false
}
implementation(project(':bukkit-helper-118-2')) {
transitive = false
}
2022-06-07 19:28:16 +02:00
implementation(project(':bukkit-helper-119')) {
transitive = false
}
2018-08-12 06:11:20 +02:00
}
processResources {
// replace stuff in mcmod.info, nothing else
filesMatching('plugin.yml') {
2018-08-12 06:11:20 +02:00
// replace version and mcversion
expand(
buildnumber: project.parent.ext.globals.buildNumber,
version: project.version
)
}
}
jar {
classifier = 'unshaded'
2018-08-12 06:11:20 +02:00
}
2022-10-14 11:57:23 +02:00
runServer {
// Configure the Minecraft version for our task.
// This is the only required configuration besides applying the plugin.
// Your plugin's jar (or shadowJar if present) will be used automatically.
minecraftVersion("1.19.2")
}
2018-08-12 06:11:20 +02:00
shadowJar {
dependencies {
include(dependency('org.bstats::'))
include(dependency(':dynmap-api'))
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'))
include(dependency(':bukkit-helper-116'))
2020-08-13 04:40:06 +02:00
include(dependency(':bukkit-helper-116-2'))
2020-09-11 05:18:51 +02:00
include(dependency(':bukkit-helper-116-3'))
include(dependency(':bukkit-helper-116-4'))
include(dependency(':bukkit-helper-117'))
include(dependency(':bukkit-helper-118'))
include(dependency(':bukkit-helper-118-2'))
2022-06-07 19:28:16 +02:00
include(dependency(':bukkit-helper-119'))
}
relocate('org.bstats', 'org.dynmap.bstats')
2018-08-12 06:11:20 +02:00
destinationDir = file '../target'
archiveName = "Dynmap-${parent.version}-spigot.jar"
2018-08-12 06:11:20 +02:00
classifier = ''
}
shadowJar.doLast {
task ->
ant.checksum file: task.archivePath
}
2018-08-12 06:11:20 +02:00
artifacts {
archives shadowJar
}