NativeScript / NativeScript/android

Incremental gradle build

Open
#796 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
563
Forks
144
Avg merge
10h 46m
Merged PRs (30d)
14

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the static binding generator and its Gradle build integration. Trace how generated Java files correspond to added, modified, and deleted JavaScript files; done means all three changes are reflected incrementally without a full rebuild.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.