forked from tastybento/askyblock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (35 loc) · 983 Bytes
/
build.gradle
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
42
43
44
45
46
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'idea'
id 'java'
id 'com.github.johnrengelman.shadow' version '2.0.2'
}
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url 'https://maven.sk89q.com/repo/' }
maven { url 'https://repo.mhdv-solutions.org/skyruins/' }
}
dependencies {
compile 'com.flowpowered:flow-nbt:+'
compileOnly 'org.spigotmc:spigot:+'
compileOnly 'com.neolumia:vault-api:+'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
from project.file('LICENSE')
}
shadowJar {
baseName = project.name.substring(0, 1).toUpperCase() + project.name.substring(1)
version = null
classifier = null
relocate 'co.aikar.timings.lib', "${group}.${project.name}.timings"
}
task wrapper(type: Wrapper) {
gradleVersion = '4.4'
}
build.dependsOn shadowJar