The image contains the Android SDK
, Fastlane
, JDK-17
, mobsfscan
(Static analysis tools), and more utilities tools.
image: werockstar/android-build:0.0.1-alpha04
before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
stages:
- lint
- test
- build
- deploy-dev
linter-android:
stage: lint
script:
- ./gradlew detekt
unit-test:
stage: test
script:
- ./gradlew test
build-android:
stage: build
script:
# - ./gradlew androidApp:assDe
- fastlane build
deploy-dev:
stage: deploy-dev
environment: dev
script:
- fastlane beta