| Saša Živkov | 78c4c18 | 2017-06-13 14:57:32 +0200 | [diff] [blame] | 1 | load("//tools/bzl:junit.bzl", "junit_tests") |
| 2 | load( |
| 3 | "//tools/bzl:plugin.bzl", |
| Saša Živkov | 78c4c18 | 2017-06-13 14:57:32 +0200 | [diff] [blame] | 4 | "PLUGIN_DEPS", |
| 5 | "PLUGIN_TEST_DEPS", |
| David Pursehouse | 32d82d4 | 2018-08-01 16:15:19 +0200 | [diff] [blame] | 6 | "gerrit_plugin", |
| Saša Živkov | 78c4c18 | 2017-06-13 14:57:32 +0200 | [diff] [blame] | 7 | ) |
| 8 | |
| 9 | gerrit_plugin( |
| 10 | name = "webhooks", |
| 11 | srcs = glob(["src/main/java/**/*.java"]), |
| 12 | manifest_entries = [ |
| 13 | "Gerrit-PluginName: webhooks", |
| Edwin Kempin | 9e4cd70 | 2021-10-19 15:30:03 +0200 | [diff] [blame] | 14 | "Gerrit-Module: com.googlesource.gerrit.plugins.webhooks.PluginModule", |
| Saša Živkov | 78c4c18 | 2017-06-13 14:57:32 +0200 | [diff] [blame] | 15 | "Implementation-Title: webhooks plugin", |
| 16 | "Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/webhooks", |
| 17 | "Implementation-Vendor: Gerrit Code Review", |
| 18 | ], |
| 19 | resources = glob(["src/main/resources/**/*"]), |
| 20 | ) |
| 21 | |
| 22 | junit_tests( |
| 23 | name = "webhooks_tests", |
| 24 | srcs = glob(["src/test/java/**/*.java"]), |
| David Ostrovsky | e267456 | 2019-10-13 19:35:31 +0200 | [diff] [blame] | 25 | tags = ["webhooks"], |
| 26 | deps = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [ |
| Hugo Arès | 66e021b | 2018-01-24 20:27:27 -0500 | [diff] [blame] | 27 | ":webhooks__plugin", |
| Saša Živkov | 78c4c18 | 2017-06-13 14:57:32 +0200 | [diff] [blame] | 28 | ], |
| 29 | ) |