Skip to content

Commit 6c7e864

Browse files
Update dependency com.android.tools.build:gradle to v8.2.0 (#705)
* Update dependency com.android.tools.build:gradle to v8.2.0 * migrate deprecated buildConfig property and fix build --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jason Plumb <[email protected]>
1 parent ceed9cf commit 6c7e864

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77
dependencies {
88
// keep this version in sync with /buildSrc/build.gradle.kts
9-
classpath("com.android.tools.build:gradle:8.1.4")
9+
classpath("com.android.tools.build:gradle:8.2.0")
1010
}
1111
}
1212

buildSrc/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020

2121
dependencies {
2222
// keep this version in sync with /build.gradle.kts
23-
implementation("com.android.tools.build:gradle:8.1.4")
23+
implementation("com.android.tools.build:gradle:8.2.0")
2424

2525
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.23.3")
2626
implementation("net.ltgt.gradle:gradle-errorprone-plugin:3.1.0")

gradle.properties

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1717
android.useAndroidX=true
1818

1919
# generate the BuildConfig class that contains the app version
20-
android.defaults.buildfeatures.buildconfig=true
21-
2220
version=1.3.0
2321
group=com.splunk

sample-app/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ android {
2727
buildFeatures {
2828
dataBinding = true
2929
viewBinding = true
30+
buildConfig = true
3031
}
3132

3233
buildTypes {

splunk-otel-android-volley/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ android {
2828
compileOptions {
2929
sourceCompatibility(JavaVersion.VERSION_1_8)
3030
targetCompatibility(JavaVersion.VERSION_1_8)
31+
isCoreLibraryDesugaringEnabled = true
3132
}
3233

3334
testOptions {
@@ -51,6 +52,7 @@ dependencies {
5152
implementation("androidx.appcompat:appcompat:1.6.1")
5253
implementation("androidx.navigation:navigation-fragment:2.7.5")
5354
compileOnly("com.android.volley:volley:1.2.1")
55+
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
5456

5557
implementation(project(":splunk-otel-android"))
5658

0 commit comments

Comments
 (0)