From 5d1c7f6e4860ff4ef6520c387fb2477f3aa04921 Mon Sep 17 00:00:00 2001 From: vsuryakumar Date: Fri, 19 May 2023 18:00:22 +0530 Subject: [PATCH] Changed compile sdk to 33 to 32. --- app/build.gradle | 7 ++++--- build.gradle | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ad3c8f9..b1cd196 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,12 +7,12 @@ plugins { //apply plugin: 'kotlin-android' android { - compileSdk 32 + compileSdk 33 defaultConfig { applicationId "com.example.hpos" minSdk 21 - targetSdk 32 + targetSdk 33 versionCode 1 versionName "1.0" @@ -45,10 +45,11 @@ android { dependencies { - implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.core:core-ktx:1.9.0' implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'com.google.android.material:material:1.7.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' +// implementation 'androidx.core:core-ktx:+' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' diff --git a/build.gradle b/build.gradle index b48997d..1737355 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,15 @@ buildscript { + ext { + kotlin_version = '1.8.21' + } dependencies { classpath 'com.android.tools.build:gradle:3.4.0' classpath 'com.google.gms:google-services:4.3.15' classpath 'com.google.firebase:firebase-appdistribution-gradle:3.2.0' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } + repositories { + mavenCentral() } } //buildscript {