forked from PortSwigger/openapi-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (38 loc) · 1.31 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
apply plugin: 'java'
repositories {
mavenCentral()
}
/*
targetCompatibility = '1.8'
sourceCompatibility = '1.8'
*/
dependencies {
// https://mvnrepository.com/artifact/io.swagger.parser.v3/swagger-parser
implementation group: 'io.swagger.parser.v3', name: 'swagger-parser', version: '2.1.0'
// https://mvnrepository.com/artifact/net.portswigger.burp.extender/burp-extender-api
implementation group: 'net.portswigger.burp.extender', name: 'burp-extender-api', version: '2.3'
// https://mvnrepository.com/artifact/org.apache.commons/commons-collections4
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
// https://mvnrepository.com/artifact/junit/junit
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.0-alpha5'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
test {
testLogging.showStandardStreams = true
}
task fatJar(type: Jar) {
baseName = project.name + '-all'
duplicatesStrategy = 'exclude'
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}