-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
45 lines (37 loc) · 993 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
40
41
42
43
44
45
plugins {
id 'java'
id 'io.franzbecker.gradle-lombok' version '1.14'
}
group 'com.wbigelow'
version '1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.javacord:javacord:3.0.0'
compile group: 'com.google.guava', name: 'guava', version: '23.5-jre'
compile 'com.vdurmont:emoji-java:4.0.0'
compile group:'org.xerial', name:'sqlite-jdbc', version: '3.25.2'
}
lombok {
version = '1.18.2'
sha256 = ""
}
task fullJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Gradle Jar File Example',
'Implementation-Version': version,
'Main-Class': 'com.wbigelow.ancillary.AncillaryEntry'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
compileJava {
options.encoding = 'UTF-8'
}
compileTestJava {
options.encoding = 'UTF-8'
}