forked from zaproxy/zap-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (52 loc) · 1.91 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
task wrapper(type: Wrapper) {
gradleVersion = '3.4.1'
}
repositories {
mavenLocal()
mavenCentral()
}
apply plugin: 'java'
buildDir = 'buildGradle'
dependencies {
compile ('net.sf.json-lib:json-lib:2.4:jdk15',
'org.zaproxy:zap:2.5.0')
}
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
task generateReleaseNotes(type: JavaExec, dependsOn: 'classes') {
group 'ZAP'
description 'Generates release notes.'
classpath configurations.runtime, sourceSets.main.output
main = 'org.zaproxy.admin.GenerateReleaseNotes'
}
task listDownloadCounts(type: JavaExec, dependsOn: 'classes') {
group 'ZAP'
description 'Lists download counts.'
classpath configurations.runtime, sourceSets.main.output
main = 'org.zaproxy.admin.CountDownloads'
}
task pendingAddOnReleases(type: JavaExec, dependsOn: "classes") {
group 'ZAP'
description 'Reports the add-ons that are pending a release of new version.'
classpath configurations.runtime, sourceSets.main.output
main = 'org.zaproxy.admin.PendingAddOnReleases'
}
task generateHelpAddOn(type: JavaExec, dependsOn: "classes") {
group 'ZAP'
description 'Generates the basic help files for an add-on.'
classpath configurations.runtime, sourceSets.main.output
main = 'org.zaproxy.admin.HelpGenerator'
standardInput = System.in
}
task reportAddOnsMissingHelp(type: JavaExec, dependsOn: "classes") {
group 'ZAP'
description 'Reports the add-ons that do not have help pages.'
classpath configurations.runtime, sourceSets.main.output
main = 'org.zaproxy.admin.HelpReportMissing'
}
task checkLatestReleaseNotes(type: JavaExec, dependsOn: "classes") {
group 'ZAP'
description 'Checks the latest release notes do not contain issues from previous ones.'
classpath configurations.runtime, sourceSets.main.output
main = 'org.zaproxy.admin.CheckLatestReleaseNotes'
}