mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
jps-to-bazel: better error message for community modules which reference non-community libraries
GitOrigin-RevId: 897139756d75a62b82ef98d92c4ba04ba564d14a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
40808a0ee1
commit
7fb01ed947
@@ -102,7 +102,10 @@ internal fun generateDeps(
|
||||
)
|
||||
|
||||
if (!isCommunityLib) {
|
||||
require(!module.isCommunity)
|
||||
require(!module.isCommunity) {
|
||||
"Module ${module.module.name} must not depend on a non-community libraries because it is a community module" +
|
||||
"(library=${untypedLib.name}, files=$files, bazelTargetName=$targetName)"
|
||||
}
|
||||
}
|
||||
|
||||
val prefix = when {
|
||||
|
||||
Reference in New Issue
Block a user