-
Notifications
You must be signed in to change notification settings - Fork 215
/
build.gradle
60 lines (48 loc) · 1.39 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
49
50
51
52
53
54
55
56
57
58
59
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 17
targetCompatibility = 17
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30"
}
}
repositories {
mavenCentral()
}
sourceSets {
main {
kotlin {
srcDir 'src'
}
java {
srcDir 'src'
}
resources {
srcDir 'resources'
}
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30"
implementation 'org.python:jython-standalone:2.7.0' // use this for extension jar
// runtimeOnly 'org.python:jython-standalone:2.7.0' // use this for library jar
implementation 'com.fifesoft:rsyntaxtextarea:3.1.1'
implementation files('hpack-1.0.2.jar')
implementation files('albinowaxUtils-all.jar') // includes burp wiener API
// implementation files('http2-spike-enhanced-obfuscated.jar') // used for research only
}
task fatJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
manifest {
attributes('Class-Path': configurations.compileClasspath.collect { it.getName() }.join(' '),
'Main-Class': 'burp.Fast_httpKt'
)
}
baseName = project.name + '-all'
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}