From 069e0476e1e076503e5c52879886ac3e93ad82d5 Mon Sep 17 00:00:00 2001 From: DevGitPit <106362593+DevGitPit@users.noreply.github.com> Date: Fri, 27 May 2022 09:15:42 +0530 Subject: [PATCH] Update build.gradle Updated targetSdk and dependencies to support Java 17 and latest gradle. --- DroidCafeInput/app/build.gradle | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/DroidCafeInput/app/build.gradle b/DroidCafeInput/app/build.gradle index 174353ac..7b8b821f 100644 --- a/DroidCafeInput/app/build.gradle +++ b/DroidCafeInput/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 + compileSdkVersion 32 defaultConfig { applicationId "com.example.android.droidcafeinput" minSdkVersion 15 - targetSdkVersion 26 + targetSdkVersion 32 versionCode 1 versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } buildTypes { release { @@ -20,10 +20,10 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support:appcompat-v7:26.1.0' - implementation 'com.android.support.constraint:constraint-layout:1.0.2' - implementation 'com.android.support:design:26.1.0' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.1' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' + implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation 'com.google.android.material:material:1.6.0' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' }