2022-02-17 04:13:21 +01:00
description = 'dynmap'
2022-02-10 22:00:41 +01:00
eclipse {
project {
2022-02-17 04:13:21 +01:00
name = "Dynmap(Spigot)"
2022-02-10 22:00:41 +01:00
}
}
2020-01-27 05:42:05 +01:00
repositories {
maven {
url 'https://jitpack.io'
}
2020-04-23 03:39:54 +02:00
maven {
2021-12-11 14:35:29 +01:00
url 'https://repo.codemc.org/repository/maven-releases/'
2020-04-23 03:39:54 +02:00
}
2020-01-27 05:42:05 +01:00
}
2023-08-20 21:38:38 +02:00
sourceCompatibility = targetCompatibility = compileJava . sourceCompatibility = compileJava . targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
2018-08-12 06:11:20 +02:00
dependencies {
2023-06-21 04:06:10 +02:00
implementation ( 'org.bukkit:bukkit:1.10.2-R0.1-SNAPSHOT' ) { transitive = false }
compileOnly ( 'com.nijikokun.bukkit:Permissions:3.1.6' ) { transitive = false }
compileOnly ( 'me.lucko.luckperms:luckperms-api:4.3' ) { transitive = false }
compileOnly ( 'net.luckperms:api:5.0' ) { transitive = false }
2023-06-09 09:47:31 +02:00
compileOnly ( 'com.github.MilkBowl:VaultAPI:1.7' ) { transitive = false }
2023-06-21 04:06:10 +02:00
compileOnly ( 'net.skinsrestorer:skinsrestorer-api:14.2.+' ) { transitive = false }
implementation ( project ( ":dynmap-api" ) ) { transitive = false }
implementation ( project ( path: ":DynmapCore" , configuration: "shadow" ) ) { transitive = false }
compileOnly ( 'ru.tehkode:PermissionsEx:1.19.1' ) { transitive = false }
compileOnly ( 'de.bananaco:bPermissions:2.9.1' ) { transitive = false }
compileOnly ( 'com.platymuus.bukkit.permissions:PermissionsBukkit:1.6' ) { transitive = false }
compileOnly ( 'org.anjocaido:EssentialsGroupManager:2.10.1' ) { transitive = false }
2023-07-18 01:33:26 +02:00
implementation group: 'org.bstats' , name: 'bstats-bukkit' , version: '3.0.2'
2023-06-21 04:06:10 +02:00
compileOnly ( 'com.googlecode.json-simple:json-simple:1.1.1' ) { transitive = false }
compileOnly ( 'com.google.code.gson:gson:2.8.9' ) { transitive = false }
2023-06-10 05:42:40 +02:00
implementation ( project ( ':bukkit-helper' ) ) {
transitive = false
}
2020-11-03 21:49:40 +01:00
implementation ( project ( ':bukkit-helper-113-2' ) ) {
transitive = false
}
implementation ( project ( ':bukkit-helper-114-1' ) ) {
2018-10-23 01:52:41 +02:00
transitive = false
}
2020-11-03 21:49:40 +01:00
implementation ( project ( ':bukkit-helper-115' ) ) {
2019-05-14 06:40:18 +02:00
transitive = false
}
2020-11-03 21:49:40 +01:00
implementation ( project ( ':bukkit-helper-116' ) ) {
2019-12-12 20:09:16 +01:00
transitive = false
}
2020-11-03 21:49:40 +01:00
implementation ( project ( ':bukkit-helper-116-2' ) ) {
2020-06-26 02:29:03 +02:00
transitive = false
}
2020-11-03 21:49:40 +01:00
implementation ( project ( ':bukkit-helper-116-3' ) ) {
2020-08-13 04:40:06 +02:00
transitive = false
}
2020-11-03 21:49:40 +01:00
implementation ( project ( ':bukkit-helper-116-4' ) ) {
2020-09-11 05:18:51 +02:00
transitive = false
}
2021-06-12 04:59:04 +02:00
implementation ( project ( ':bukkit-helper-117' ) ) {
transitive = false
}
2021-12-01 06:08:54 +01:00
implementation ( project ( ':bukkit-helper-118' ) ) {
transitive = false
}
2022-03-01 00:46:40 +01:00
implementation ( project ( ':bukkit-helper-118-2' ) ) {
transitive = false
}
2022-06-07 19:28:16 +02:00
implementation ( project ( ':bukkit-helper-119' ) ) {
transitive = false
}
2022-12-08 20:45:18 +01:00
implementation ( project ( ':bukkit-helper-119-3' ) ) {
transitive = false
}
2023-03-16 06:55:32 +01:00
implementation ( project ( ':bukkit-helper-119-4' ) ) {
transitive = false
}
2023-06-09 08:05:17 +02:00
implementation ( project ( ':bukkit-helper-120' ) ) {
transitive = false
}
2018-08-12 06:11:20 +02:00
}
processResources {
// replace stuff in mcmod.info, nothing else
2021-06-27 15:28:05 +02:00
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 {
2020-11-03 21:49:40 +01:00
classifier = 'unshaded'
2018-08-12 06:11:20 +02:00
}
shadowJar {
dependencies {
include ( dependency ( 'org.bstats::' ) )
2020-11-03 21:49:40 +01:00
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' ) )
2020-06-26 02:29:03 +02:00
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' ) )
2020-11-03 21:49:40 +01:00
include ( dependency ( ':bukkit-helper-116-4' ) )
2021-06-12 04:59:04 +02:00
include ( dependency ( ':bukkit-helper-117' ) )
2021-12-01 06:08:54 +01:00
include ( dependency ( ':bukkit-helper-118' ) )
2022-03-01 00:46:40 +01:00
include ( dependency ( ':bukkit-helper-118-2' ) )
2022-06-07 19:28:16 +02:00
include ( dependency ( ':bukkit-helper-119' ) )
2022-12-08 20:45:18 +01:00
include ( dependency ( ':bukkit-helper-119-3' ) )
2023-03-16 06:55:32 +01:00
include ( dependency ( ':bukkit-helper-119-4' ) )
2023-06-09 08:05:17 +02:00
include ( dependency ( ':bukkit-helper-120' ) )
2020-11-03 21:49:40 +01:00
}
relocate ( 'org.bstats' , 'org.dynmap.bstats' )
2018-08-12 06:11:20 +02:00
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
}