From f18289886d94aa9e4e533daa93cd7c0b94ea48a9 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Wed, 8 Dec 2021 11:01:56 +0100 Subject: [PATCH] Updated to compile against Android 12 --- app/build.gradle | 11 +++++------ app/src/main/AndroidManifest.xml | 3 ++- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c0fb2dc..4aa5b0f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,15 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 30 - buildToolsVersion "30.0.2" + compileSdkVersion 31 defaultConfig { applicationId "org.transdroid.search" minSdkVersion 14 - targetSdkVersion 30 + targetSdkVersion 31 versionCode 37 - versionName "4.1" + versionName "4.2" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } @@ -55,9 +54,9 @@ android { } dependencies { - implementation 'com.android.volley:volley:1.2.0' + implementation 'com.android.volley:volley:1.2.1' implementation 'org.jsoup:jsoup:1.13.1' - androidTestImplementation 'androidx.test.ext:junit:1.1.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'com.google.truth:truth:1.0.1' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9e9f3a8..f63bf90 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -53,7 +53,8 @@ + android:noHistory="true" + android:exported="true"> diff --git a/build.gradle b/build.gradle index 7842a92..8eb81f5 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.2.0' + classpath 'com.android.tools.build:gradle:7.0.3' } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1f3fdbc..29e4134 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists