Commit 36e6b754 authored by blackheaven's avatar blackheaven
Browse files

Update .gitlab-ci.yml file

parent a5895d28
Loading
Loading
Loading
Loading
Loading
+17 −22
Original line number Diff line number Diff line
# included templates
include:
  # Gradle template
  - project: "to-be-continuous/gradle"
    ref: "2.2"
    file: "templates/gitlab-ci-gradle.yml"
image: jangrewe/gitlab-ci-android

stages:
- build

# variables
variables:
  GRADLE_NO_DEPENDENCY_CHECK: "true"
  GRADLE_SBOM_DISABLED: "true"
before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

# your pipeline stages
stages:
  - build
  - test
  - package-build
  - package-test
  - infra
  - deploy
  - acceptance
  - publish
  - infra-prod
  - production
 No newline at end of file
build:
  stage: build
  script:
  - ./gradlew assembleDebug
  artifacts:
    paths:
    - app/build/outputs/apk/app-debug.apk
 No newline at end of file