Fix plugin references to moved :plugin-api
The plugin api moved into the gerrit-plugin-api package. Change the reference created by gerrit_plugin() to match. Change-Id: I390a22f512835847367ae2993a7a9bddf9d11b5c
This commit is contained in:
@@ -10,12 +10,12 @@ gwt_module(
|
||||
|
||||
java_binary(
|
||||
name = 'extension-api',
|
||||
deps = [':extension-lib'],
|
||||
deps = [':lib'],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = 'extension-lib',
|
||||
name = 'lib',
|
||||
deps = [
|
||||
':api',
|
||||
'//lib/guice:guice',
|
||||
@@ -23,7 +23,7 @@ java_library(
|
||||
'//lib:servlet-api-3_0',
|
||||
],
|
||||
export_deps = True,
|
||||
visibility = [],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
java_library2(
|
||||
|
||||
@@ -21,7 +21,7 @@ java_library(
|
||||
name = 'lib',
|
||||
deps = PLUGIN_API + ['//lib:servlet-api-3_0'],
|
||||
export_deps = True,
|
||||
visibility = [],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
java_binary(
|
||||
|
||||
@@ -162,7 +162,7 @@ def gerrit_plugin(
|
||||
srcs = srcs,
|
||||
resources = resources,
|
||||
deps = deps,
|
||||
compile_deps = ['//:%s-lib' % type] + gwt_deps,
|
||||
compile_deps = ['//gerrit-%s-api:lib' % type] + gwt_deps,
|
||||
)
|
||||
if gwt_module:
|
||||
prebuilt_jar(
|
||||
|
||||
Reference in New Issue
Block a user