-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
46 lines (39 loc) · 1.03 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
apply plugin: 'idea'
apply plugin: 'java'
version = '0.4.1'
compileJava {
sourceCompatibility = '1.8'
}
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
maven {
url "http://nexus.theyeticave.net/content/repositories/pub_releases"
}
}
sourceSets {
main {
java {
srcDirs = ['src/main']
}
}
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'MCEX Plugin',
'Implementation-Version': version
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
dependencies {
compile group: 'mysql', name: 'mysql-connector-java', version: '5.+'
compile group: 'com.mchange', name: 'c3p0', version: '0.9.5.1'
compile name: 'spigot-api-1.8.8'
compile group: 'net.milkbowl.vault', name: 'VaultAPI', version: '1.5'
compile group: 'io.vertx', name: 'vertx-core', version: '3.1.0'
compile group: 'io.vertx', name: 'vertx-web', version: '3.1.0'
}
buildDir = 'bin'