-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (33 loc) · 908 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
plugins {
id 'java'
}
group 'Dero'
version '0.6.12'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
apply plugin: 'java-library'
apply plugin: 'java'
compileJava.options.encoding = 'UTF-8'
dependencies {
implementation files('lib/spigot.jar')
implementation files('lib/worldedit.jar')
implementation files('lib/core.jar')
implementation group: 'com.google.code.gson', name: 'gson', version: '2.7'
compile 'org.mongodb:mongodb-driver-sync:3.9.1'
compileOnly 'org.projectlombok:lombok:1.18.8'
annotationProcessor 'org.projectlombok:lombok:1.18.8'
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'by.dero.gvh.Plugin'
)
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}