-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
55 lines (45 loc) · 1.14 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
54
55
plugins {
id 'java'
id "io.freefair.lombok" version "6.5.1"
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
group = 'com.github.CoreyD97'
repositories {
mavenCentral()
}
dependencies {
implementation 'net.portswigger.burp.extensions:montoya-api:2023.3'
implementation "com.google.code.gson:gson:2.10"
testRuntimeOnly files("${System.properties['user.home']}/BurpSuitePro/burpsuite_pro.jar")
}
jar{
baseName = project.name
from {
(configurations.compileClasspath).collect { it.isDirectory() ? it : zipTree(it) }
}{
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
}
task testJar(type: Jar) {
baseName = project.name + "-TEST"
dependsOn testClasses
sourceSets.main.output.each {
from it
}
sourceSets.test.output.each {
from it
}
sourceSets.test.runtimeClasspath.each { File f ->
if (f.name.endsWith('.jar')) {
from zipTree(f)
} else {
from f
}
}
}
tasks.withType(Jar) {
destinationDir = file("$rootDir/releases")
}