Upgrade Gradle to 8.1.1

This commit is contained in:
Shivam Goyal
2023-09-25 01:17:35 +05:30
parent 63240ed10b
commit 7e3c8c465f
4 changed files with 23 additions and 14 deletions

View File

@@ -82,7 +82,7 @@ dependencies {
testImplementation "junit:junit:4.13.2"
androidTestImplementation "androidx.test.ext:junit:1.1.5"
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation "androidx.navigation:navigation-compose:$nav_version"
implementation 'androidx.navigation:navigation-compose:2.6.0'
implementation 'androidx.profileinstaller:profileinstaller:1.3.1'
// Retrofit

View File

@@ -5,7 +5,7 @@ plugins {
android {
namespace 'com.navi.uitron.benchmark'
compileSdk 33
compileSdk 34
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17

View File

@@ -1,14 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
nav_version = "2.6.0"
}
}
plugins {
id 'com.android.application' version '8.1.0' apply false
id 'com.android.library' version '8.1.0' apply false
id 'org.jetbrains.kotlin.android' version '1.9.10' apply false
id 'com.android.test' version '8.1.0' apply false
id 'com.google.dagger.hilt.android' version '2.48' apply false
id 'com.google.devtools.ksp' version '1.9.10-1.0.13' apply false
alias libs.plugins.android.application apply false
alias libs.plugins.android.library apply false
alias libs.plugins.android.test apply false
alias libs.plugins.hilt.android apply false
alias libs.plugins.kotlin.android apply false
alias libs.plugins.ksp apply false
}

15
gradle/libs.versions.toml Normal file
View File

@@ -0,0 +1,15 @@
[versions]
androidGradlePlugin = "8.1.1"
hilt = "2.48"
kotlin = "1.9.10"
ksp = "1.9.10-1.0.13"
[libraries]
[plugins]
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" }
android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" }
hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }