blob: a45cff27fb4c7b4a221be0945a4124c8b8f51b2b [file] [log] [blame]
java_library(
name = 'runtime',
exports = ['@prolog_runtime//jar'],
visibility = ['//visibility:public'],
data = ['//lib:LICENSE-prologcafe'],
)
java_library(
name = 'compiler',
exports = ['@prolog_compiler//jar'],
runtime_deps = [
':io',
':runtime',
],
visibility = ['//visibility:public'],
data = ['//lib:LICENSE-prologcafe'],
)
java_library(
name = 'io',
exports = ['@prolog_io//jar'],
data = ['//lib:LICENSE-prologcafe'],
)
java_library(
name = 'cafeteria',
exports = ['@cafeteria//jar'],
runtime_deps = [
'io',
'runtime',
],
visibility = ['//visibility:public'],
data = ['//lib:LICENSE-prologcafe'],
)
java_binary(
name = 'compiler_bin',
main_class = 'BuckPrologCompiler',
runtime_deps = [':compiler_lib'],
visibility = ['//visibility:public'],
)
java_library(
name = 'compiler_lib',
srcs = ['java/BuckPrologCompiler.java'],
deps = [
':compiler',
':runtime',
],
visibility = ['//visibility:public'],
)