forked from akabe1/OAUTHScan
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
49 lines (39 loc) · 1.02 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
// Apply the java plugin to add support for Java
apply plugin: 'java'
version '1.2'
// In this section you declare where to find the dependencies of your project
repositories {
mavenCentral()
}
// In this section you declare the dependencies for your production and test code
dependencies {
// Add the Burp Extender interface
implementation group: 'net.portswigger.burp.extender', name: 'burp-extender-api', version: '2.1'
// https://mvnrepository.com/artifact/org.json/json
implementation group: 'org.json', name: 'json', version: '20220320'
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked"
}
}
task fatJar(type: Jar) {
archiveBaseName = project.name + '-all'
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}
compileJava {
targetCompatibility '1.8'
sourceCompatibility '1.8'
}