Update sdk version 30

This commit is contained in:
Jannis Mattheis
2021-08-21 20:29:37 +02:00
parent 9ba9405b0f
commit 939136c5e3
2 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -7,7 +7,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.0.0' classpath 'com.android.tools.build:gradle:4.0.2'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
@@ -35,7 +35,7 @@ task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir
} }
def download( String url, String filename ) { static def download(String url, String filename ) {
new URL( url ).openConnection().with { conn -> new URL( url ).openConnection().with { conn ->
new File( filename ).withOutputStream { out -> new File( filename ).withOutputStream { out ->
conn.inputStream.with { inp -> conn.inputStream.with { inp ->