forked from GraxCode/threadtear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (36 loc) · 973 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
plugins {
id 'java-library'
id 'eclipse'
}
version = '1.1'
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['src']
}
repositories {
mavenCentral()
}
dependencies {
compile 'commons-io:commons-io:2.6'
compile 'com.github.weisj:darklaf:1.3.3.4'
compile 'org.ow2.asm:asm:8.0.1'
compile 'org.ow2.asm:asm-tree:8.0.1'
compile 'org.ow2.asm:asm-analysis:8.0.1'
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Threadtear',
'Implementation-Version': 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'
}
with jar
}