| include_defs('//bucklets/gerrit_plugin.bucklet') |
| include_defs('//bucklets/java_sources.bucklet') |
| include_defs('//bucklets/maven_jar.bucklet') |
| SOURCES = glob(['src/main/java/**/*.java']) |
| RESOURCES = glob(['src/main/resources/**/*']) |
| TEST_DEPS = GERRIT_PLUGIN_API + GERRIT_TESTS + [ |
| ':messageoftheday__plugin', |
| name = 'messageoftheday', |
| srcs = glob(['src/main/java/**/*.java']), |
| resources = glob(['src/main/resources/**/*']), |
| 'Gerrit-PluginName: messageoftheday', |
| 'Gerrit-Module: com.googlesource.gerrit.plugins.messageoftheday.Module', |
| name = 'messageoftheday-sources', |
| srcs = SOURCES + RESOURCES, |
| name = 'messageoftheday_tests', |
| srcs = glob(['src/test/java/**/*.java']), |
| resources = glob(['src/test/resources/**/']), |
| labels = ['messageoftheday'], |