Skip to content

More manifest and gradle templating#18

Merged
dbnicholson merged 6 commits into2022.09.04-endlessfrom
more-manifest-gradle-templating
May 24, 2023
Merged

More manifest and gradle templating#18
dbnicholson merged 6 commits into2022.09.04-endlessfrom
more-manifest-gradle-templating

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