From 939136c5e365cbf47ea2617c28c66ba81d7a33ad Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Sat, 21 Aug 2021 20:29:37 +0200 Subject: [PATCH] Update sdk version 30 --- app/build.gradle | 4 ++-- build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bf43ed8..34bf1e2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,11 +4,11 @@ plugins { apply plugin: 'com.android.application' android { - compileSdkVersion 29 + compileSdkVersion 30 defaultConfig { applicationId "com.github.gotify" minSdkVersion 19 - targetSdkVersion 29 + targetSdkVersion 30 versionCode 21 versionName "2.1.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/build.gradle b/build.gradle index a7504b3..7eac126 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { jcenter() } 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 @@ -35,7 +35,7 @@ task clean(type: Delete) { delete rootProject.buildDir } -def download( String url, String filename ) { +static def download(String url, String filename ) { new URL( url ).openConnection().with { conn -> new File( filename ).withOutputStream { out -> conn.inputStream.with { inp ->