Loading .gitlab-ci.yml +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 Loading
.gitlab-ci.yml +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