-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (49 loc) · 1.29 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
plugins {
id 'java'
id 'idea'
id 'application'
id 'io.franzbecker.gradle-lombok' version '1.14'
id 'com.github.johnrengelman.shadow' version '2.0.2'
}
group 'net.minepos'
version '1.0.0'
mainClassName = 'net.minepos.pterobot.PteroBotBootstrap'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {
url = 'https://repo.aikar.co/content/groups/aikar/'
}
maven {
url = 'https://jitpack.io'
}
}
dependencies {
compile 'org.reflections:reflections:+'
compile 'com.google.code.gson:gson:+'
compile 'net.dv8tion:JDA:+'
compile 'com.google.inject:guice:+'
compile 'org.apache.httpcomponents:httpclient:+'
compile 'org.apache.commons:commons-lang3:+'
compile 'commons-io:commons-io:+'
compile 'org.slf4j:slf4j-simple:+'
compile 'com.github.minepos-software:Ptero4J:06ebd42'
}
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'
relocate 'co.aikar.commands', 'net.minepos.pterobot.idb'
}
compileJava.options.encoding = 'UTF-8'