-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
46 lines (39 loc) · 978 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:$kotlin_version"
}
}
repositories {
mavenCentral()
}
sourceSets {
main {
kotlin {
srcDir 'src'
}
java {
srcDir 'src'
}
resources {
srcDir 'resources'
}
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'net.portswigger.burp.extender:burp-extender-api:2.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.5.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1'
}
task fatJar(type: Jar) {
duplicatesStrategy = 'exclude'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}