From 49392c2ebd137837f25003a4dd78b84960ce5ad2 Mon Sep 17 00:00:00 2001 From: Anton Stubenbord Date: Sun, 26 Feb 2023 19:11:48 +0100 Subject: [PATCH] feat: Add initial fastlane configuration --- android/Gemfile.lock | 2 + android/build.gradle | 2 +- android/fastlane/Fastfile | 1 + android/fastlane/README.md | 48 +++++++++++++++++++ android/fastlane/report.xml | 20 ++++++++ android/gradle.properties | 1 + .../gradle/wrapper/gradle-wrapper.properties | 2 +- 7 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 android/fastlane/README.md create mode 100644 android/fastlane/report.xml diff --git a/android/Gemfile.lock b/android/Gemfile.lock index 85d9d5e..c271406 100644 --- a/android/Gemfile.lock +++ b/android/Gemfile.lock @@ -193,6 +193,7 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.8.2) + unf_ext (0.0.8.2-x86-mingw32) unicode-display_width (1.8.0) webrick (1.8.1) word_wrap (1.0.0) @@ -210,6 +211,7 @@ GEM PLATFORMS ruby + x86-mingw32 DEPENDENCIES fastlane diff --git a/android/build.gradle b/android/build.gradle index 7e7824c..1140ed8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.2.1' + classpath 'com.android.tools.build:gradle:7.4.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // implementation 'androidx.window:window:1.0.0' // implementation 'androidx.window:window-java:1.0.0' diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index 19c557c..a618d3a 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -17,6 +17,7 @@ default_platform(:android) platform :android do desc "Runs all the tests" + lane :test do gradle(task: "test") end diff --git a/android/fastlane/README.md b/android/fastlane/README.md new file mode 100644 index 0000000..7ec1207 --- /dev/null +++ b/android/fastlane/README.md @@ -0,0 +1,48 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## Android + +### android test + +```sh +[bundle exec] fastlane android test +``` + +Runs all the tests + +### android beta + +```sh +[bundle exec] fastlane android beta +``` + +Submit a new Beta Build to Crashlytics Beta + +### android deploy + +```sh +[bundle exec] fastlane android deploy +``` + +Deploy a new version to the Google Play + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/android/fastlane/report.xml b/android/fastlane/report.xml new file mode 100644 index 0000000..96e55af --- /dev/null +++ b/android/fastlane/report.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/android/gradle.properties b/android/gradle.properties index 94adc3a..ea121f2 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,4 @@ org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true +android.suppressUnsupportedCompileSdk=33 diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 562c5e4..c65f92e 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip