-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
44 lines (36 loc) · 881 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
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "8.1.1"
}
tasks.build.dependsOn('shadowJar')
group 'com.nickuc.antimalware'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
def asmVersion = "9.7.1"
compile 'org.ow2.asm:asm:' + asmVersion
compile 'org.ow2.asm:asm-commons:' + asmVersion
compile 'org.ow2.asm:asm-tree:' + asmVersion
def lombok = 'org.projectlombok:lombok:1.18.36'
compileOnly lombok
annotationProcessor lombok
testCompileOnly lombok
testAnnotationProcessor lombok
}
jar {
manifest {
attributes(
'Main-Class': 'haizivs.hostflowmalwareremover.HostflowRemover'
)
}
}
shadowJar {
archiveName("HostflowMalwareRemover.jar")
}
compileJava {
options.encoding('UTF-8')
sourceCompatibility('1.8')
targetCompatibility('1.8')
}