-
-
Notifications
You must be signed in to change notification settings - Fork 197
Description
Is your feature request related to a problem? Please describe.
Apps can't be build for F-Droid directly with the CLI (ns build android
) at the moment. This is due to the fact, that F-Droid 1) uses a custom Gradle executable and 2) deletes all additional Gradle wrappers before starting the build process.
Describe the solution you'd like
An --gradle
option (or similarly named) for the CLI would be great. It should provide the ability to use a custom Gradle executable instead of the one from the {N} Gradle wrapper.
E.g. ns build android --gradle /usr/bin/gradle
Describe alternatives you've considered
The current workaround is:
ns prepare android
cd platforms/android/app
gradle "assembleRelease" "-PappPath=app" "-PappResourcesPath=app/resources"
(or similar)
However some [Webpack|JS] features like AOT
or uglify
might not work.
Additional context
Feel free to ask for more information at https://gitlab.com/fdroid/fdroiddata/-/issues/2309.