forked from codewatchorg/Burp-AnonymousCloud
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
54 lines (44 loc) · 1.67 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
apply plugin: 'java'
repositories {
mavenCentral()
}
configurations {
extraLibs
}
dependencies {
implementation 'net.portswigger.burp.extender:burp-extender-api:2.1'
extraLibs group: 'commons-codec', name: 'commons-codec', version: '1.11'
extraLibs group: 'com.amazonaws', name: 'aws-java-sdk-core', version: '1.11.708'
extraLibs group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.708'
extraLibs group: 'commons-logging', name: 'commons-logging', version: '1.1.3'
extraLibs group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.9'
extraLibs group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.11'
extraLibs group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.6.7'
extraLibs group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.6.7'
extraLibs group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.6.7'
extraLibs group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: '2.6.7'
extraLibs group: 'joda-time', name: 'joda-time', version: '2.8.1'
extraLibs group: 'org.json', name: 'json', version: '20190722'
configurations.compileClasspath.extendsFrom(configurations.extraLibs)
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
baseName = project.name
from { configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) } }
}
compileJava {
targetCompatibility '1.8'
sourceCompatibility '1.8'
}