-
Notifications
You must be signed in to change notification settings - Fork 124
/
build.gradle
70 lines (57 loc) · 1.76 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
plugins {
id 'java-library'
id 'eclipse'
}
version = '2.6.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['src']
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'
ext {
darklaf_ver = "2.1.1"
asm_ver = "8.0.1"
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
flatDir {
dirs 'libs'
}
}
dependencies {
compile 'commons-io:commons-io:2.6'
compile 'org.apache.commons:commons-configuration2:2.7'
compile 'commons-beanutils:commons-beanutils:1.9.4'
compile "com.github.weisj:darklaf-core:${darklaf_ver}"
compile "com.github.weisj:darklaf-theme:${darklaf_ver}"
compile "com.github.weisj:darklaf-property-loader:${darklaf_ver}"
compile "org.ow2.asm:asm:${asm_ver}"
compile "org.ow2.asm:asm-tree:${asm_ver}"
compile "org.ow2.asm:asm-analysis:${asm_ver}"
compile "org.ow2.asm:asm-util:${asm_ver}"
compile 'com.github.leibnitz27:cfr:-SNAPSHOT'
compile name: 'fernflower-15-05-20'
compile 'com.fifesoft:rsyntaxtextarea:3.1.1'
compile 'ch.qos.logback:logback-classic:1.2.3'
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': "${project.name}",
'Implementation-Version': "${project.version}",
'Main-Class': "me.nov.threadtear.Threadtear"
}
baseName(project.name + '-all')
from (configurations.compile.collect { entry -> zipTree(entry) }) {
exclude 'META-INF/MANIFEST.MF'
exclude 'META-INF/*.SF'
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
exclude 'module-info.*'
}
with jar
}