-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (34 loc) · 831 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'DevSecBox'
version = '0.2.1'
repositories {
mavenCentral()
}
dependencies {
compileOnly 'net.portswigger.burp.extensions:montoya-api:2024.12'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.0'
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
shadowJar {
archiveBaseName.set('DevSecBox')
archiveVersion.set(version)
destinationDirectory.set(file("$buildDir"))
archiveFileName.set("DevSecBox-${version}.jar")
manifest {
attributes(
'Main-Class': 'DevSecBox.Initialize'
)
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
tasks.build {
dependsOn shadowJar
}