mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[Bazel] jps-to-bazel: Generate module_name for Bazel test targets
GitOrigin-RevId: f4ad36f9aca74625a22e9151750646da1a170af1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
864b8a5ded
commit
ca2f9de554
@@ -598,6 +598,9 @@ internal class BazelBuildFileGenerator(
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library")
|
||||
target("jvm_library") {
|
||||
option("name", testLibTargetName)
|
||||
if (testDeps == null || testDeps.associates.isEmpty()) { // => in this case no 'associates' attribute will be generated
|
||||
option("module_name", module.name)
|
||||
}
|
||||
|
||||
visibility(arrayOf("//visibility:public"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user