ionic-team / ionic-team/capacitor

[Feature]: Add arguments to android build to allow to pass some option to gradlew

Open
#8,033 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
16.7k
Forks
1.3k
Avg merge
3d 15h
Merged PRs (30d)
10

Description

### Description

I wan't to be able to add some argument to gradlew, for exemple "--build-cache"

### Platforms

- [x] iOS
- [x] Android
- [ ] Web

### Request or proposed solution

Add an option like --extra-args "--custom-arg1 --custom-arg2" who allow to pass desired argument to gradlew at build time

### Alternatives

Add an argument to allow build cache directly in capacitor cli (but the idea to have an extra args is a lot more flexible)

### Additional Information

On my side i only need this arguments for gradlew, but it could be also a nice feature for IOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.