-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle
48 lines (36 loc) · 1.09 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
group "com.netspi.awssigner"
version "2.0.4"
apply plugin: "java"
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
repositories {
mavenCentral()
}
def awsSdkVersion = "2.17.116"
def junitVersion = "5.6.0"
dependencies {
implementation "com.google.code.gson:gson:2.8.9"
implementation "com.google.guava:guava:31.0.1-jre"
implementation "net.portswigger.burp.extender:burp-extender-api:2.3"
implementation "software.amazon.awssdk:sts:$awsSdkVersion"
implementation "software.amazon.awssdk:auth-crt:$awsSdkVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
test {
useJUnitPlatform()
}
def mainClassName = "com.netspi.awssigner.TestRunner"
jar {
dependsOn 'test'
manifest {
attributes "Main-Class": "$mainClassName"
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy "exclude"
}