-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (36 loc) · 1.02 KB
/
build.gradle
File metadata and controls
43 lines (36 loc) · 1.02 KB
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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our samples at https://docs.gradle.org/7.6/samples
*/
// Apply the Java plugin
apply plugin: 'java'
// Use Maven (because Burp Extender is on Maven)
repositories {
mavenCentral()
}
dependencies {
// Add the Burp Extender interface
implementation 'net.portswigger.burp.extender:burp-extender-api:2.3'
compile 'com.google.guava:guava:31.1-jre'
compile 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
}
sourceSets {
main {
java {
// Set the source directory to "src"
srcDir 'src'
}
}
}
// Create a task for bundling all dependencies into a jar file.
task bigJar(type: Jar) {
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
task copyJar(type: Copy, dependsOn: bigJar) {
from(bigJar.archiveFile)
into project.rootProject.projectDir
}