File tree Expand file tree Collapse file tree
ortools/java/com/google/ortools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ bazel_dep(name = "rules_cc", version = "0.2.17")
3232bazel_dep (name = "rules_go" , version = "0.59.0" )
3333bazel_dep (name = "rules_java" , version = "9.5.0" )
3434bazel_dep (name = "rules_jvm_external" , version = "6.10" )
35+ bazel_dep (name = "rules_jni" , version = "0.11.1" )
3536bazel_dep (name = "rules_license" , version = "1.0.0" )
3637bazel_dep (name = "rules_python" , version = "1.8.3" )
3738bazel_dep (name = "rules_shell" , version = "0.6.1" )
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ cc_binary(
4444 }),
4545 visibility = ["//visibility:public" ],
4646 deps = [
47+ "@rules_jni//jni:libjvm" ,
4748 "//ortools/algorithms/java:knapsacksolver_cc" ,
4849 "//ortools/graph/java:graph_cc" ,
4950 "//ortools/init/java:init_cc" ,
@@ -64,6 +65,7 @@ cc_binary(
6465 }),
6566 visibility = ["//visibility:public" ],
6667 deps = [
68+ "@rules_jni//jni:libjvm" ,
6769 "//ortools/algorithms/java:knapsacksolver_cc" ,
6870 "//ortools/graph/java:graph_cc" ,
6971 "//ortools/init/java:init_cc" ,
You can’t perform that action at this time.
0 commit comments