-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
86 lines (71 loc) · 1.95 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
group 'br.com.blackhubos.eventozero'
version '1.0.1'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse' //Usuarios do eclipse
defaultTasks 'build', 'jar', 'uploadArchives'
sourceCompatibility = 1.8
sourceSets {
main {
java {
srcDirs 'src/'
}
resources {
srcDirs 'resources/'
}
}
test {
java {
srcDirs 'test/'
}
resources {
srcDirs 'test/'
}
}
}
jar {
manifest {
attributes 'Implementation-Title': 'EventoZero',
'Implementation-Version': version,
'Created-By': 'BlackHub OS',
'Application-Description' : 'Advanced event factory and executor for Bukkit and Spigot',
'Repositories': 'https://github.com/BlackHubOS/EventoZero/'
}
}
repositories {
flatDir {
dirs 'libs'
}
mavenCentral()
maven {
name = 'Spigot MC'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
name = 'vault-repo'
url = 'http://nexus.theyeticave.net/content/repositories/pub_releases'
}
maven {
name = 'sk89q Repo'
url = 'http://maven.sk89q.com/repo/'
}
}
dependencies {
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.6'
compile group: 'org.bukkit', name: 'bukkit', version: '1.8.8-R0.1-SNAPSHOT'
compile group: 'net.milkbowl.vault', name: 'VaultAPI', version: '1.5'
compile group: 'com.sk89q', name: 'worldguard', version: '6.1.1-SNAPSHOT'
compile group: 'com.sk89q.worldedit', name: 'worldedit-bukkit', version: '6.1.1-SNAPSHOT'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}