37 lines
668 B
Groovy
37 lines
668 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
sourceCompatibility = 17
|
|
targetCompatibility = 17
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDir './src/main/java'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'net.portswigger.burp.extensions:montoya-api:2023.12.1'
|
|
implementation 'org.yaml:snakeyaml:2.0'
|
|
implementation 'dk.brics.automaton:automaton:1.11-8'
|
|
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
from {
|
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
} |