Min SDK hardcoded when expanding desugaring configurations

未关闭
#457 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 6 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
android
领域
build-system

调研方向

首先检查 DEPOT_FLOOR 的搜索结果以及第 175 行附近的 tools/android/BUILD,以追踪 desugaring 配置在哪里展开。验证展开使用的是用户设置的最小 SDK,而不是 floor 版本,并确认生成的 Bazel 配置反映了该值。

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

描述

The min sdk is currently being hard coded to the floor version, and does not read from the minimum SDK version being set by the user. https://github.com/search?q=repo%3Abazelbuild/rules_android%20DEPOT_FLOOR&type=code

This results in configurations within Bazel being expanded with a fixed min SDK that does not reflect the minimum sdk being set by the user. Ex:
https://github.com/bazelbuild/rules_android/blob/66f9a44aab872055b31c894f5792871aea4b79eb/tools/android/BUILD#L175

主要语言
Java
星标
205
派生
113
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bazelbuild/rules_android 的其他 Issue

查看 bazelbuild/rules_android 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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