default_platform(:android) platform :android do desc "Deploy to Internal Testing" lane :deploy_internal do # Build de l'application sh "cd ../.. && flutter build appbundle --release" # Upload vers Google Play upload_to_play_store( track: 'internal', # 'internal' = Test interne, 'alpha' = Test fermé aab: '../build/app/outputs/bundle/release/app-release.aab', json_key: ENV['GOOGLE_JSON_KEY_PATH'] # Jenkins remplit cette variable magiquement ) end end