Update compile sdk

This commit is contained in:
Jannis Mattheis
2019-11-28 21:45:27 +01:00
parent de49792133
commit c413114702
2 changed files with 6 additions and 5 deletions

View File

@@ -18,8 +18,8 @@ android:
components: components:
- tools - tools
- platform-tools - platform-tools
- build-tools-28.0.3 - build-tools-29.0.2
- android-28 - android-29
- extra-google-m2repository - extra-google-m2repository
- extra-android-m2repository - extra-android-m2repository
licenses: licenses:
@@ -29,6 +29,7 @@ android:
before_install: before_install:
- yes | sdkmanager "platforms;android-28" - yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "platforms;android-29"
script: script:
- ./gradlew clean build --stacktrace - ./gradlew clean build --stacktrace
@@ -41,7 +42,7 @@ before_deploy:
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore $HOME/gotify-release-key.jks - jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore $HOME/gotify-release-key.jks
-storepass $STOREPASS -keypass $KEYPASS app-release-unsigned.apk gotify-release-key -storepass $STOREPASS -keypass $KEYPASS app-release-unsigned.apk gotify-release-key
- jarsigner -verify app-release-unsigned.apk - jarsigner -verify app-release-unsigned.apk
- "${ANDROID_HOME}/build-tools/28.0.3/zipalign -v 4 app-release-unsigned.apk Gotify.apk" - "${ANDROID_HOME}/build-tools/29.0.2/zipalign -v 4 app-release-unsigned.apk Gotify.apk"
deploy: deploy:
provider: releases provider: releases

View File

@@ -4,11 +4,11 @@ plugins {
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 28 compileSdkVersion 29
defaultConfig { defaultConfig {
applicationId "com.github.gotify" applicationId "com.github.gotify"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 28 targetSdkVersion 29
versionCode 10 versionCode 10
versionName "2.0.7" versionName "2.0.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"