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(
|
java_binary(
|
||||||
name = 'extension-api',
|
name = 'extension-api',
|
||||||
deps = [':extension-lib'],
|
deps = [':lib'],
|
||||||
visibility = ['PUBLIC'],
|
visibility = ['PUBLIC'],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library(
|
java_library(
|
||||||
name = 'extension-lib',
|
name = 'lib',
|
||||||
deps = [
|
deps = [
|
||||||
':api',
|
':api',
|
||||||
'//lib/guice:guice',
|
'//lib/guice:guice',
|
||||||
@@ -23,7 +23,7 @@ java_library(
|
|||||||
'//lib:servlet-api-3_0',
|
'//lib:servlet-api-3_0',
|
||||||
],
|
],
|
||||||
export_deps = True,
|
export_deps = True,
|
||||||
visibility = [],
|
visibility = ['PUBLIC'],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_library2(
|
java_library2(
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ java_library(
|
|||||||
name = 'lib',
|
name = 'lib',
|
||||||
deps = PLUGIN_API + ['//lib:servlet-api-3_0'],
|
deps = PLUGIN_API + ['//lib:servlet-api-3_0'],
|
||||||
export_deps = True,
|
export_deps = True,
|
||||||
visibility = [],
|
visibility = ['PUBLIC'],
|
||||||
)
|
)
|
||||||
|
|
||||||
java_binary(
|
java_binary(
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ def gerrit_plugin(
|
|||||||
srcs = srcs,
|
srcs = srcs,
|
||||||
resources = resources,
|
resources = resources,
|
||||||
deps = deps,
|
deps = deps,
|
||||||
compile_deps = ['//:%s-lib' % type] + gwt_deps,
|
compile_deps = ['//gerrit-%s-api:lib' % type] + gwt_deps,
|
||||||
)
|
)
|
||||||
if gwt_module:
|
if gwt_module:
|
||||||
prebuilt_jar(
|
prebuilt_jar(
|
||||||
|
|||||||
Reference in New Issue
Block a user