-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
48 lines (39 loc) · 871 Bytes
/
build.gradle.kts
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")
id("checkstyle")
}
version = "1.0"
repositories {
mavenCentral()
}
dependencies {
compileOnly("net.portswigger.burp.extensions:montoya-api:2024.12")
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
testImplementation("org.assertj:assertj-core:3.27.3")
testImplementation("org.mockito:mockito-core:5.15.2")
testImplementation("net.portswigger.burp.extensions:montoya-api:2024.12")
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
checkstyle {
toolVersion = "10.12.4"
}
tasks.withType<Checkstyle> {
reports {
xml.required = false
html.required = true
}
}
tasks.test {
useJUnitPlatform()
}
tasks.jar {
archiveVersion.set(version.toString())
from(rootDir) {
include("LICENSE")
into("META-INF")
}
}