Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More manifest and gradle templating #18

Merged
merged 6 commits into from
May 24, 2023

Conversation

dbnicholson
Copy link
Member

Wire up some more templating in the generated AndroidManifest.xml and build.gradle files to support some features we want to use. I believe this can all be sent upstream, but I want to get it working downstream first.

Needed for endlessm/kolibri-installer-android#125 and endlessm/kolibri-installer-android#128.

The --extra-manifest-xml and --extra-manifest-application-arguments
options are currently only handled by the sdl2 bootstrap while the
--manifest-placeholders option is handled in the common build.gradle
template.
This allows having separate placeholders for debug and release builds.
That can be useful for changing manifest features based on the build
type.
misl6 added 2 commits May 23, 2023 11:33
* Flake8 does not support inline comments for any of the keys.

* Fix flake8 E741 ambiguous variable name

(cherry picked from commit 8f8cf6a)
dbnicholson added a commit to endlessm/kolibri-installer-android that referenced this pull request May 24, 2023
Use the supported manifest metadata tags to disable Analytics and
Crashlytics by default for debug builds. This uses a manifest
placeholder to toggle the setting between debug and release builds.

This depends on endlessm/python-for-android#18.
@dbnicholson
Copy link
Member Author

I'm going to assume that was a tacit approval and merge.

@dbnicholson dbnicholson merged commit 304bf5c into 2022.09.04-endless May 24, 2023
@dbnicholson dbnicholson deleted the more-manifest-gradle-templating branch May 24, 2023 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants