-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
77 lines (64 loc) · 2.84 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
group 'me.minidigger'
apply plugin: 'com.github.johnrengelman.shadow'
task copyToServer(type: Copy) {
from shadowJar
into testServerFolder
}
shadowJar {
mergeServiceFiles()
configurations = [project.configurations.compile]
//relocate 'org.bstats', 'com.voxelgameslib.voxelgameslib.metrics' TODO relocate bstats
manifest {
attributes 'Implementation-Version': project.version + "@" + revision
}
}
def devNull = new OutputStream() {
@Override
public void write(int b) {}
}
build.dependsOn shadowJar
dependencies {
compile project(":ChatMenuAPI")
// Some details about 'co.aikar:acf-paper', version: '0.5.0-SNAPSHOT'
compile group: 'co.aikar', name: 'acf-paper', version: '0.5.0-SNAPSHOT', changing: true
compile group: 'com.google.inject', name: 'guice', version: '4.2.0'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
compile group: 'de.davidbilge', name: 'jskill', version: '1.1-SNAPSHOT'
compile group: 'net.lingala.zip4j', name: 'zip4j', version: '1.3.2'
compile group: 'co.aikar', name: 'taskchain-bukkit', version: '3.6.0'
compile group: 'net.kyori', name: 'text', version: '1.12-1.4.0'
compile group: 'org.bstats', name: 'bstats-bukkit', version: '1.2'
compile group: 'com.bugsnag', name: 'bugsnag', version: '3.1.5'
compile group: 'com.zaxxer', name: 'HikariCP', version: '2.7.8'
compile group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '4.11.0.201803080745-r'
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.3.0.CR1'
compile group: 'com.dumptruckman.minecraft', name: 'JsonConfiguration', version: '1.1'
compile group: 'org.inventivetalent', name: 'mc-wrappers', version: '1.0.3-SNAPSHOT'
compile group: 'io.github.lukehutch', name: 'fast-classpath-scanner', version: '2.18.1'
compile group: 'org.objenesis', name: 'objenesis', version: '2.6'
compile(group: 'org.inventivetalent', name: 'menubuilder', version: '1.0.2') {
exclude group: 'org.bukkit'
}
compile(group: 'org.mineskin', name: 'java-client', version: '1.0.1-SNAPSHOT') {
exclude group: 'junit'
}
compile(group: 'org.inventivetalent', name: 'reflectionhelper', version: '1.13.0-SNAPSHOT') {
exclude group: 'junit'
}
}
task createPom() {
pom {
project {
groupId 'com.voxelgameslib'
artifactId 'dependencies'
version version
}
}.writeTo("pom.xml")
}
task debugApp(type: JavaExec, dependsOn: distBin) {
workingDir = 'dist-bin'
classpath = (fileTree(dir: 'dist-bin', includes:['eclipsito.jar']) + files('dist-bin'))
main = 'org.bardsoftware.eclipsito.Boot'
args '-app','net.sourceforge.ganttproject.GanttProject','-plugins-dir',"plugins-${semver}"
jvmArgs '-agentlib:jdwp=transport=dt_socket,address=localhost:9009,server=y,suspend=y'
}