-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
37 lines (32 loc) · 909 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
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
implementation 'net.portswigger.burp.extender:burp-extender-api:2.3'
implementation 'org.apache.commons:commons-lang3:3.5'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.1'
implementation group: 'org.json', name: 'json', version: '20210307'
}
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'resources'
}
}
}
task fatJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
archiveFileName = "${project.name}-all.jar"
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
into('') {
from(sourceSets.main.output) // include classes from this project
}
}
compileJava {
targetCompatibility '1.8'
sourceCompatibility '1.8'
}