-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
65 lines (48 loc) · 1.38 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'org.zeroturnaround:gradle-jrebel-plugin:1.1.5'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
apply plugin: 'java'
compileJava.options.encoding = 'UTF-8'
apply plugin: 'maven'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'rebel'
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
configurations {
provided
compileOnly.extendsFrom provided
}
sourceSets {
main {
compileClasspath += configurations.provided
runtimeClasspath += configurations.provided
}
test {
compileClasspath += configurations.provided
runtimeClasspath += configurations.provided
}
}
repositories {
mavenCentral()
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url 'https://oss.sonatype.org/content/groups/public/' }
maven { url "http://nexus.hc.to/content/repositories/pub_releases" }
maven { url "http://repo.extendedclip.com/content/repositories/placeholderapi/" }
jcenter()
}
dependencies {
provided 'org.spigotmc:spigot-api:1.12-R0.1-SNAPSHOT'
provided 'me.clip:placeholderapi:2.10.7'
provided 'net.milkbowl.vault:VaultAPI:1.6'
provided files ('libs/Statz.jar')
}
build.dependsOn(shadowJar)