bazelbuild / bazelbuild/rules_java

Allow custom stub template for java_binary

未关闭
#329 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P3
主要语言
Starlark
星标
103
派生
102
PR 合并指标
30 天内没有已合并 PR

描述

### Description of the feature request:

We would like to use our own java stub template to replace java_stub_template.txt. Our use case uses a lot of custom system properties that can be generated from rule dependencies. However Bazel's java stub template is fixed. It would be nice to allow custom java rule template through something like java_toolchain

贡献指南

打开贡献指南

调研方向

从 java_stub_template.txt 和 java_toolchain 入口开始,了解 java_binary 当前如何选择其 stub 模板。定义如何传递和验证用户提供的模板,同时保留默认模板;完成的标准是 java_binary 能够针对从依赖项派生的系统属性使用自定义模板。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
build-system
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。