Merge branch 'stable-2.14'
* stable-2.14: Bazel: Allow plugins to non-transitively depend on prolog rules Change-Id: I6d9c7e4795249ab8c97fb064f0ebb2dd5aee8ef1
This commit is contained in:
@@ -5,6 +5,13 @@ java_library(
|
||||
exports = ["@prolog_runtime//jar"],
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "runtime-neverlink",
|
||||
data = ["//lib:LICENSE-prologcafe"],
|
||||
visibility = ["//visibility:public"],
|
||||
exports = ["@prolog_runtime//jar:neverlink"],
|
||||
)
|
||||
|
||||
java_library(
|
||||
name = "compiler",
|
||||
data = ["//lib:LICENSE-prologcafe"],
|
||||
|
||||
@@ -29,6 +29,6 @@ def prolog_cafe_library(
|
||||
native.java_library(
|
||||
name = name,
|
||||
srcs = [':' + name + '__pl2j'],
|
||||
deps = ['//lib/prolog:runtime'] + deps,
|
||||
deps = ['//lib/prolog:runtime-neverlink'] + deps,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user