Skip to content

Commit b6d1558

Browse files
authored
downgrade androidx to allow lower compileSDK (#1103)
1 parent 1543815 commit b6d1558

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

.github/renovate.json5

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@
5757
{
5858
"matchPackagePrefixes": ["io.opentelemetry.instrumentation"],
5959
"groupName": "upstream otel instrumentation"
60+
},
61+
{
62+
// Various androidx libraries released after Aug 7th, 2024 requires android compileSDK 35,
63+
// forcing customers to require the same and further to upgrade their AGP and gradle
64+
"matchPackageNames": [
65+
"androidx.core:core",
66+
"androidx.work:work-runtime"
67+
],
68+
"enabled": false
6069
}
6170
]
6271
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ opentelemetry-sdk-testing = { module = "io.opentelemetry:opentelemetry-sdk-testi
3131
zipkin-sender-okhttp = "io.zipkin.reporter2:zipkin-sender-okhttp3:3.4.2"
3232

3333
androidx-browser = "androidx.browser:browser:1.8.0"
34-
androidx-core = "androidx.core:core:1.15.0"
34+
androidx-core = "androidx.core:core:1.13.1"
3535
androidx-navigation-fragment = "androidx.navigation:navigation-fragment:2.7.7"
3636
androidx-navigation-ui = "androidx.navigation:navigation-ui:2.7.7"
37-
androidx-work = "androidx.work:work-runtime:2.10.0"
37+
androidx-work = "androidx.work:work-runtime:2.9.1"
3838
androidx-webkit = "androidx.webkit:webkit:1.12.1"
3939

4040
# Volley

sample-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ localProperties.load(FileInputStream(rootProject.file("local.properties")))
1313
android {
1414
namespace = "com.splunk.android.sample"
1515

16-
compileSdk = 35
16+
compileSdk = 34
1717
buildToolsVersion = "34.0.0"
1818

1919
defaultConfig {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
android {
1010
namespace = "com.splunk.android.rum.volley"
1111

12-
compileSdk = 35
12+
compileSdk = 34
1313
buildToolsVersion = "34.0.0"
1414

1515
defaultConfig {

splunk-otel-android/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
android {
88
namespace = "com.splunk.android.rum"
99

10-
compileSdk = 35
10+
compileSdk = 34
1111
buildToolsVersion = "34.0.0"
1212

1313
defaultConfig {

0 commit comments

Comments
 (0)