NativeScript / NativeScript/android

Incremental gradle build

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

还没有人认领这个 Issue。

feature
主要语言
C++
星标
563
派生
144
平均合并
10 小时 46 分钟
30 天内合并 PR
14

描述

problem
Whole build process needs to be enabled to build incrementally.
Currently, Gradle builds are not completely incremental due to the fact the static binding generator can't adopt incremental changes. If a javascript file is modified, for instance, Gradle should be able to delete and replace the newly generated Java file. The Same logic applies for deleting and adding new files.

solution
Make the static binding generator able to apply incremental changes.

  • deleting files
  • adding new files
  • modifying files = delete old + add new

This will enable us to use the full potential of the Gradle incremental build.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先定位静态绑定生成器及其 Gradle 构建集成。追踪生成的 Java 文件如何对应新增、修改和删除的 JavaScript 文件;完成的标准是无需完整重建即可增量反映这三种更改。

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

评估

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

把新 issue 发到你的邮箱

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