forked from KovuTheHusky/dynmap-structures
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (34 loc) · 871 Bytes
/
build.gradle
File metadata and controls
41 lines (34 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id 'eclipse'
id 'idea'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'com.kovuthehusky'
version = '2.6.1-SNAPSHOT'
sourceCompatibility = '1.8'
processResources {
filesNotMatching("**/*.png") {
filter ReplaceTokens, tokens: [
"version": project.property("version")
]
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
implementation 'org.bstats:bstats-bukkit:3.0.2'
compileOnly 'org.dynmap:DynmapCoreAPI:1.9.4'
}
repositories {
mavenCentral()
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url 'https://repo.mikeprimm.com/' }
}
shadowJar {
dependencies {
include(dependency('org.bstats::'))
}
relocate 'org.bstats', 'com.kovuthehusky.bstats'
}
jar.finalizedBy(shadowJar);