31c82401f0
* stable-2.15: Bazel: Add fixes for --incompatible_load_{java|python}_rules_from_bzl Bazel: Bump minimum supported version to 0.29.0 Lucene index configuration and docs. Change-Id: I6c597cbc89fafece83c374e9b36c4c4c0126704f
16 lines
377 B
Python
16 lines
377 B
Python
load("@rules_java//java:defs.bzl", "java_import")
|
|
load("//tools/bzl:genrule2.bzl", "genrule2")
|
|
|
|
java_import(
|
|
name = "log4j-config",
|
|
jars = [":log4j-config__jar"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
genrule2(
|
|
name = "log4j-config__jar",
|
|
srcs = ["log4j.properties"],
|
|
outs = ["log4j-config.jar"],
|
|
cmd = "cd resources && zip -9Dqr $$ROOT/$@ .",
|
|
)
|