Skip to content

Commit

Permalink
Use jdk-17
Browse files Browse the repository at this point in the history
* * Until the jangrewe/gitlab-ci-android decides to merge the jangrewe/gitlab-ci-android#77
  • Loading branch information
Martinvlba committed Sep 9, 2023
1 parent 36d31f0 commit ccea814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ stages:
- build

before_script:
- apt update && apt -y install openjdk-17-jdk
- JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
- export GRADLE_USER_HOME=$(pwd)/.gradle
- export PACKAGE=`egrep '^[[:blank:]]+package' ./nhterm/src/main/AndroidManifest.xml | awk -F'[=>]' '{print $2}' | sed s/\"//g`
- export VERSION_NAME=`egrep '^[[:blank:]]+versionName=' ./build.gradle | awk -F '"' '{print $2}'`
Expand Down

0 comments on commit ccea814

Please sign in to comment.