fix: use flutter_build action instead of gradle action (#25)

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

View File

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