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

[3.x] Update the gradle build tasks to generate play store builds. #74583

Merged
merged 1 commit into from
May 17, 2023

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented Mar 8, 2023

Configure the gradle builds to sign and build the release version of the Godot Android Editor

Note: Should be merged alongside godotengine/godot-build-scripts#79

main version

supportedFlavors = ["editor", "template"]
supportedTargetsMapByFlavors = [
"editor": [release: "release_debug", dev: "debug", debug: "release_debug"],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change release builtype for the editor to storeRelease

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On further investigations, I'm sticking with release because every Android project has an automatic release build type. Changing it to storeRelease will require additional logic to disable the default release build type so we may as well leverage what already exists.

@m4gr3d
Copy link
Contributor Author

m4gr3d commented Apr 26, 2023

@akien-mga Updated this PR following our conversation.
Note that when the signing credentials are not provided, the build generates a android_editor-release-unsigned.apk binary.

Configure the gradle builds to sign and build the release version of the Godot Android Editor
@m4gr3d m4gr3d force-pushed the setup_play_store_builds_3x branch from a45b2e0 to 30e3e30 Compare April 28, 2023 05:13
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested successfully on the official build server, with my edits to godotengine/godot-build-scripts#79.

@akien-mga akien-mga merged commit e5e73e7 into godotengine:3.x May 17, 2023
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the setup_play_store_builds_3x branch May 17, 2023 21:57
@akien-mga akien-mga removed the cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants