Commit 882cab3d authored by Toni Beier's avatar Toni Beier

Merge branch 'autobuild/minimize_befor_script' into 'master'

Setup-Skript für Gitlab-Pipeline reduziert

See merge request !13
parents e0e3057e 28f59e46
Pipeline #22850 passed with stages
in 3 minutes and 50 seconds
...@@ -2,7 +2,6 @@ image: openjdk:8-jdk ...@@ -2,7 +2,6 @@ image: openjdk:8-jdk
variables: variables:
ANDROID_COMPILE_SDK: "28" ANDROID_COMPILE_SDK: "28"
ANDROID_BUILD_TOOLS: "28.0.2"
ANDROID_SDK_TOOLS: "4333796" ANDROID_SDK_TOOLS: "4333796"
before_script: before_script:
...@@ -11,8 +10,6 @@ before_script: ...@@ -11,8 +10,6 @@ before_script:
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip - wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip
- unzip -d android-sdk-linux android-sdk.zip - unzip -d android-sdk-linux android-sdk.zip
- echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" >/dev/null - echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" >/dev/null
- echo y | android-sdk-linux/tools/bin/sdkmanager "platform-tools" >/dev/null
- echo y | android-sdk-linux/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}" >/dev/null
- export ANDROID_HOME=$PWD/android-sdk-linux - export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/ - export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
- chmod +x ./gradlew - chmod +x ./gradlew
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment