This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
forked from PortSwigger/javascript-security
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
82 lines (65 loc) · 2.35 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/5.0/userguide/tutorial_java_projects.html
*/
plugins {
// Apply the java plugin to add support for Java
id 'java'
// Apply the application plugin to add support for building an application
id 'application'
id 'maven-publish'
}
version = '1.1'
group = "burp"
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
// This dependency is found on compile classpath of this component and consumers.
implementation 'com.google.guava:guava:26.0-jre'
// https://mvnrepository.com/artifact/org.apache.clerezza.ext/org.json.simple
compile group: 'org.apache.clerezza.ext', name: 'org.json.simple', version: '0.4'
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.14.0'
// https://mvnrepository.com/artifact/org.jsoup/jsoup/1.11.3
// https://jsoup.org/
compile group: 'org.jsoup', name: 'jsoup', version: '1.11.3'
// DNS library
// https://mvnrepository.com/artifact/dnsjava/dnsjava
compile group: 'dnsjava', name: 'dnsjava', version: '2.1.8'
// Burp plugin requirements
compile 'net.portswigger.burp.extender:burp-extender-api:1.7.13'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}
// Define the main class for the application
mainClassName = 'burp.BurpExtender'
def fatJar = task fatJar(type: Jar) {
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
publishing {
publications {
maven(MavenPublication) {
artifact fatJar
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/gradle/javascript-security")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}