fix: use flutter_build action instead of gradle action ()

This commit is contained in:
Malo Léon 2023-07-11 15:29:19 +02:00
parent 4021345e0a
commit fef6c75738

@ -20,18 +20,9 @@ module Fastlane
# Clean the project before building
other_action.gradle(task: "clean")
# Set the build number based on the number of commits
build_number = other_action.number_of_commits
# Build the Android App Bundle
other_action.gradle(
task: "bundle",
build_type: "Release",
print_command: true,
project_dir: './',
properties: {
"android.injected.version.code" => build_number
}
other_action.flutter_build(
build: 'appbundle'
)
UI.message("👉🏼 App built")