-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (42 loc) · 1.07 KB
/
build.gradle
File metadata and controls
50 lines (42 loc) · 1.07 KB
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
plugins {
id 'java'
id 'idea'
id 'application'
id 'org.sonarqube' version '2.6'
id 'io.franzbecker.gradle-lombok' version '1.14'
id 'com.github.johnrengelman.shadow' version '2.0.2'
}
group 'me.piggypiglet'
version '1.0.0'
mainClassName = 'me.piggypiglet.botchecker.BotCheckerBootstrap'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile 'org.reflections:reflections:+'
compile 'net.dv8tion:JDA:+'
compile 'com.google.inject:guice:+'
compile 'org.apache.commons:commons-lang3:+'
compile 'com.google.code.gson:gson:+'
compile 'commons-io:commons-io:+'
compile 'org.slf4j:slf4j-simple:+'
}
lombok {
version = '1.18.4'
sha256 = ""
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
shadowJar {
exclude 'META-INF/*.SF'
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
}
compileJava.options.encoding = 'UTF-8'