forked from davido/gerrit-oauth-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUCK
37 lines (34 loc) · 997 Bytes
/
BUCK
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
include_defs('//bucklets/gerrit_plugin.bucklet')
include_defs('//bucklets/maven_jar.bucklet')
define_license('scribe')
gerrit_plugin(
name = 'gerrit-oauth-provider',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
manifest_entries = [
'Gerrit-PluginName: gerrit-oauth-provider',
'Gerrit-HttpModule: com.googlesource.gerrit.plugins.oauth.HttpModule',
'Gerrit-InitStep: com.googlesource.gerrit.plugins.oauth.InitOAuth',
'Implementation-Title: Gerrit OAuth authentication provider',
'Implementation-URL: https://github.com/davido/gerrit-oauth-provider',
],
deps = [
':scribe'
],
provided_deps = [
'//lib:guava',
'//lib:gson',
'//lib/commons:codec',
],
)
java_library(
name = 'classpath',
deps = [':gerrit-oauth-provider__plugin'],
)
maven_jar(
name = 'scribe',
id = 'org.scribe:scribe:1.3.7',
sha1 = '583921bed46635d9f529ef5f14f7c9e83367bc6e',
license = 'scribe',
local_license = True,
)