From 4bd89f0e211d598314d0c4ba66a2794f77ec7fe7 Mon Sep 17 00:00:00 2001 From: danilkinkin Date: Mon, 26 Feb 2024 18:44:54 +0600 Subject: [PATCH] feat: bump gradle to 8.2 --- app/build.gradle.kts | 1 + build.gradle.kts | 4 +--- gradle.properties | 1 - gradle/wrapper/gradle-wrapper.properties | 4 ++-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 25e284a..15b666b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -58,6 +58,7 @@ android { buildFeatures { compose = true + buildConfig = true } packaging { diff --git a/build.gradle.kts b/build.gradle.kts index a4ed612..46f67f0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,12 +2,10 @@ buildscript { repositories { google() mavenCentral() - - maven { url=uri("https://androidx.dev/snapshots/builds/-/artifacts/repository") } } dependencies { - classpath("com.android.tools.build:gradle:8.1.2") + classpath("com.android.tools.build:gradle:8.2.2") classpath("com.google.dagger:hilt-android-gradle-plugin:2.46") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0") classpath("com.diffplug.spotless:spotless-plugin-gradle:6.20.0") diff --git a/gradle.properties b/gradle.properties index a94b304..0a47d06 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,6 +24,5 @@ kotlin.code.style=official # Enable R8 full mode. android.enableR8.fullMode=true -android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false android.nonFinalResIds=false diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 19acfb4..d022615 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=ff7bf6a86f09b9b2c40bb8f48b25fc19cf2b2664fd1d220cd7ab833ec758d0d7 -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip +distributionSha256Sum=38f66cd6eef217b4c35855bb11ea4e9fbc53594ccccb5fb82dfd317ef8c2c5a3 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists