-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (39 loc) · 938 Bytes
/
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
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
targetCompatibility = 1.8
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
}
}
repositories {
mavenCentral()
}
sourceSets {
main {
kotlin {
srcDir 'src'
}
java {
srcDir 'src'
}
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.21"
implementation "net.portswigger.burp.extender:burp-extender-api:1.7.22"
}
task fatJar(type: Jar) {
manifest {
attributes('Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'burp.RemoveBearerTokenKt'
)
}
// configurations.compile.collect
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}