Fastfile 909 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This file contains the fastlane.tools configuration
  2. # You can find the documentation at https://docs.fastlane.tools
  3. #
  4. # For a list of all available actions, check out
  5. #
  6. # https://docs.fastlane.tools/actions
  7. #
  8. # For a list of all available plugins, check out
  9. #
  10. # https://docs.fastlane.tools/plugins/available-plugins
  11. #
  12. # Uncomment the line if you want fastlane to automatically update itself
  13. # update_fastlane
  14. default_platform(:android)
  15. platform :android do
  16. desc "Runs all the tests"
  17. lane :test do
  18. gradle(task: "test")
  19. end
  20. desc "Submit a new Beta Build to Crashlytics Beta"
  21. lane :beta do
  22. gradle(task: "clean assembleRelease")
  23. crashlytics
  24. # sh "your_script.sh"
  25. # You can also use other beta testing services here
  26. end
  27. desc "Deploy a new version to the Google Play"
  28. lane :deploy do
  29. gradle(task: "clean assembleRelease")
  30. upload_to_play_store
  31. end
  32. end