-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (39 loc) · 990 Bytes
/
build.gradle
File metadata and controls
48 lines (39 loc) · 990 Bytes
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
plugins {
id 'java'
}
version = '1.0.0'
repositories {
mavenCentral()
}
dependencies {
implementation 'net.portswigger.burp.extensions:montoya-api:+'
implementation 'com.google.guava:guava:33.3.0-jre'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
jar {
manifest {
attributes(
'Manifest-Version': '1.0',
'Created-By': 'Gradle 8.1.0',
'Main-Class': 'burp.HostsLoader'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
} {
exclude 'META-INF/*.SF'
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
task copyJar(type: Copy) {
dependsOn jar
from jar.archiveFile
into "${projectDir}"
}
build.finalizedBy(copyJar)