-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
46 lines (38 loc) · 1.46 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
plugins {
id 'java'
}
group 'net.portswigger.burp.extensions.example'
version '1.0.0'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compileOnly 'net.portswigger.burp.extensions:montoya-api:2024.7'
// compileOnly files('/Users/test/Downloads/montoya-api-2023.9.jar')
implementation 'org.mozilla:rhino:1.7.14'
implementation 'org.json:json:20231013'
implementation 'com.fifesoft:rsyntaxtextarea:3.5.1'
implementation 'org.python:jython-standalone:2.7.1'
// runtimeOnly 'io.grpc:grpc-netty-shaded:1.66.0'
implementation 'io.grpc:grpc-okhttp:1.66.0'
implementation 'io.grpc:grpc-protobuf:1.66.0'
implementation 'io.grpc:grpc-stub:1.66.0'
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.41.2.2'
implementation "com.github.kklisura.cdt:cdt-java-client:4.0.0"
}
jar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
exclude '**/org/sqlite/native/FreeBSD/**'
exclude '**/org/sqlite/native/Linux-Android/**'
exclude '**/org/sqlite/native/Linux-Musl/**'
exclude '**/org/sqlite/native/Linux/ppc64/**'
exclude '**/org/sqlite/native/Linux/riscv64/**'
exclude '**/org/sqlite/native/Windows/x86/**'
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17