NativeScript / NativeScript/nativescript-cli
Feature Request: Passing -P params to gradle
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
When you build for android it calls gradlew, gradle has -Pxxx where xxx is a value to allow you to control what it builds; one item that would be very useful to be able to set is the supportVersion
I would like tns to support passing on something maybe something like --gradle "-PsupportVersion=yyyy -Pblah=zzz -Petc=aaa"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the tns Android build command and trace where it invokes gradlew and parses command-line options. Determine how user-supplied -P parameters could be forwarded to Gradle, then verify that supportVersion and multiple parameters reach the Android build correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- build-system, cli, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100