Update sdk version 30
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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 ->
|
||||||
|
|||||||
Reference in New Issue
Block a user