Skip to content

Commit 276176c

Browse files
authored
Merge pull request #245 from thc202/build/rm-weekly-main-tasks
Remove main/weekly release related tasks
2 parents e3f42d9 + 8be271a commit 276176c

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

addOns/addOns.gradle.kts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,6 @@ eclipse {
2020

2121
description = "Common configuration of the add-ons."
2222

23-
val mainAddOns = listOf("help")
24-
val weeklyAddOns = mainAddOns + listOf()
25-
26-
mapOf("main" to mainAddOns, "weekly" to weeklyAddOns).forEach { entry ->
27-
tasks {
28-
val name = entry.key
29-
val nameCapitalized = name.capitalize()
30-
register("copy${nameCapitalized}AddOns") {
31-
group = "ZAP"
32-
description = "Copies the $name release add-ons to zaproxy project."
33-
childProjects(entry.value) {
34-
dependsOn(it.tasks.named(AddOnPlugin.COPY_ADD_ON_TASK_NAME))
35-
}
36-
}
37-
38-
register("list${nameCapitalized}AddOns") {
39-
group = "ZAP"
40-
description = "Lists the $name release add-ons."
41-
doLast {
42-
childProjects(entry.value) { println(it.name) }
43-
}
44-
}
45-
}
46-
}
47-
4823
subprojects {
4924
apply(plugin = "java-library")
5025
apply(plugin = "org.zaproxy.add-on")

0 commit comments

Comments
 (0)