Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge v1.7.x #1093

Merged
merged 84 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
cc249a2
Update gradle/actions action to v4.0.1 (#918)
renovate[bot] Sep 4, 2024
d9b576d
Update contributor-assistant/github-action action to v2.5.1 (#924)
renovate[bot] Sep 4, 2024
04f9a92
Update dependency androidx.compose:compose-bom to v2024.08.00 (#925)
renovate[bot] Sep 4, 2024
a07a9c7
Update dependency com.uber.nullaway:nullaway to v0.11.2 (#917)
renovate[bot] Sep 4, 2024
b2a6aa4
Update dependency com.google.errorprone:error_prone_core to v2.31.0 (…
renovate[bot] Sep 5, 2024
bfb72f1
Update dependency com.android.tools:desugar_jdk_libs to v2.1.2 (#927)
renovate[bot] Sep 5, 2024
39212fb
Update dependency androidx.activity:activity-compose to v1.9.2 (#932)
renovate[bot] Sep 5, 2024
a1028e9
Update dependency com.android.tools.build:gradle to v8.6.0 (#926)
renovate[bot] Sep 5, 2024
940fa53
Update upstream otel instrumentation (#922)
renovate[bot] Sep 5, 2024
f237401
Update kotlin to v2.0.20 (#921)
renovate[bot] Sep 5, 2024
7636149
Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.5 …
renovate[bot] Sep 5, 2024
8491198
Update dependency androidx.compose:compose-bom to v2024.09.00 (#934)
renovate[bot] Sep 5, 2024
5619a2b
Update junit5 monorepo to v5.11.0 (#936)
renovate[bot] Sep 5, 2024
79877e4
Update dependency gradle to v8.10 (#935)
renovate[bot] Sep 5, 2024
7b06811
Update mockito monorepo to v5.13.0 (#937)
renovate[bot] Sep 5, 2024
5cba3f6
Update actions/setup-java action to v4.3.0 (#944)
renovate[bot] Sep 9, 2024
a3c4e35
Update dependency gradle to v8.10.1 (#942)
renovate[bot] Sep 9, 2024
2dc92fb
Update opentelemetry-java monorepo (#940)
renovate[bot] Sep 9, 2024
8c8777b
Update opentelemetry-java monorepo (#946)
renovate[bot] Sep 10, 2024
b67de7e
Update dependency androidx.compose:compose-bom to v2024.09.01 (#948)
renovate[bot] Sep 10, 2024
d8290fe
Update dependency io.zipkin.reporter2:zipkin-sender-okhttp3 to v3.4.1…
renovate[bot] Sep 11, 2024
a31b78e
Update gradle/actions action to v4.1.0 (#954)
renovate[bot] Sep 13, 2024
a9bd128
Update dependency com.google.errorprone:error_prone_core to v2.32.0 (…
renovate[bot] Sep 16, 2024
031f596
Update dependency com.uber.nullaway:nullaway to v0.11.3 (#956)
renovate[bot] Sep 17, 2024
3f0a7a8
Update dependency com.android.tools.build:gradle to v8.6.1 (#958)
renovate[bot] Sep 19, 2024
f122b76
Update dependency androidx.compose:compose-bom to v2024.09.02 (v1.7.x…
renovate[bot] Sep 19, 2024
89c752b
Update dependency io.zipkin.reporter2:zipkin-sender-okhttp3 to v3.4.2…
renovate[bot] Sep 19, 2024
bb42f9e
Update contributor-assistant/github-action action to v2.5.2 (#969)
renovate[bot] Sep 20, 2024
731754e
Update dependency gradle to v8.10.2 (#973)
renovate[bot] Sep 24, 2024
99ca1be
Update actions/setup-java action to v4.4.0 (#975)
renovate[bot] Sep 24, 2024
1dcba63
Update contributor-assistant/github-action action to v2.6.0 (#971)
renovate[bot] Sep 24, 2024
327a83a
Update junit5 monorepo to v5.11.1 (#977)
renovate[bot] Sep 25, 2024
778ac86
Update actions/checkout action to v4.2.0 (#979)
renovate[bot] Sep 25, 2024
53acd31
Update contributor-assistant/github-action action to v2.6.1 (#980)
renovate[bot] Sep 26, 2024
9f2abaa
Update mockito monorepo to v5.14.0 (#984)
renovate[bot] Sep 27, 2024
192dd95
Update dependency ubuntu to v24 (#982)
renovate[bot] Sep 27, 2024
7e35158
Update dependency com.google.errorprone:error_prone_core to v2.33.0 (…
renovate[bot] Oct 2, 2024
dd63ab1
Update codecov/codecov-action action to v4.6.0 (#990)
renovate[bot] Oct 2, 2024
08e227e
Update mockito monorepo to v5.14.1 (#986)
renovate[bot] Oct 2, 2024
94ba536
Update dependency com.android.tools.build:gradle to v8.7.0 (#992)
renovate[bot] Oct 2, 2024
c69cc12
Update dependency androidx.compose:compose-bom to v2024.09.03 (#996)
renovate[bot] Oct 2, 2024
d5205fc
Update dependency androidx.webkit:webkit to v1.12.1 (#998)
renovate[bot] Oct 3, 2024
849aa7e
Update junit5 monorepo to v5.11.2 (#1000)
renovate[bot] Oct 4, 2024
8568998
Update actions/checkout action to v4.2.1 (#1005)
renovate[bot] Oct 9, 2024
a59c529
Added versionCode, applicationID, and customUUID from AndroidManifest…
tonzhan2 Oct 15, 2024
6b0e9ab
Update kotlin to v2.0.21 (#1009)
renovate[bot] Oct 16, 2024
cd12964
Update dependency com.android.tools.build:gradle to v8.7.1 (#1013)
renovate[bot] Oct 16, 2024
a1afcd1
Update lycheeverse/lychee-action action to v2 (v1.7.x) (#1007)
renovate[bot] Oct 16, 2024
5eddc05
Update dependency androidx.activity:activity-compose to v1.9.3 (#1019)
renovate[bot] Oct 16, 2024
6ba04de
Update mockito monorepo to v5.14.2 (#1020)
renovate[bot] Oct 16, 2024
0921705
Update dependency androidx.compose:compose-bom to v2024.10.00 (#1022)
renovate[bot] Oct 17, 2024
a02b14f
Update dependency com.uber.nullaway:nullaway to v0.12.0 (#1024)
renovate[bot] Oct 21, 2024
7b3eacd
Update dependency net.ltgt.gradle:gradle-errorprone-plugin to v4.1.0 …
renovate[bot] Oct 21, 2024
d16985c
Update dependency com.google.errorprone:error_prone_core to v2.34.0 (…
renovate[bot] Oct 21, 2024
4fe3939
Update junit5 monorepo to v5.11.3 (#1032)
renovate[bot] Oct 21, 2024
900a03c
Update dependency net.ltgt.gradle:gradle-nullaway-plugin to v2.1.0 (#…
renovate[bot] Oct 21, 2024
ac762da
Update actions/checkout action to v4.2.2 (#1035)
renovate[bot] Oct 23, 2024
9be22b2
Update actions/setup-java action to v4.5.0 (#1037)
renovate[bot] Oct 24, 2024
b33b552
Update dependency com.uber.nullaway:nullaway to v0.12.1 (#1041)
renovate[bot] Oct 28, 2024
6a4782b
Update dependency com.google.errorprone:error_prone_core to v2.35.1 (…
renovate[bot] Oct 29, 2024
3c36866
Update dependency com.android.tools.build:gradle to v8.7.2 (#1051)
renovate[bot] Nov 6, 2024
7429e02
Update dependency androidx.compose:compose-bom to v2024.10.01 (#1050)
renovate[bot] Nov 6, 2024
ccbffe4
Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.7 …
renovate[bot] Nov 6, 2024
3232be0
Update dependency androidx.work:work-runtime to v2.10.0 (v1.7.x) (#1047)
renovate[bot] Nov 6, 2024
827c0b4
Update dependency androidx.core:core to v1.15.0 (v1.7.x) (#1046)
renovate[bot] Nov 6, 2024
fe850c3
Update lycheeverse/lychee-action action to v2.1.0 (#1056)
renovate[bot] Nov 8, 2024
3fcaa7b
Update dependency com.android.tools:desugar_jdk_libs to v2.1.3 (#1054)
renovate[bot] Nov 8, 2024
4fca834
Update gradle/actions action to v4.2.0 (#1061)
renovate[bot] Nov 18, 2024
33bbb1d
Update dependency androidx.compose:compose-bom to v2024.11.00 (#1063)
renovate[bot] Nov 18, 2024
4d795e6
Update dependency gradle to v8.11 (#1059)
renovate[bot] Nov 18, 2024
fb5beff
Update dependency org.robolectric:robolectric to v4.14 (#1066)
renovate[bot] Nov 18, 2024
2e4e303
Update codecov/codecov-action action to v5 (#1070)
renovate[bot] Nov 18, 2024
c9aada4
Update gradle/actions action to v4.2.1 (#1068)
renovate[bot] Nov 18, 2024
8b1d791
Update codecov/codecov-action action to v5.0.6 (#1074)
renovate[bot] Nov 20, 2024
202edb9
Update dependency gradle to v8.11.1 (#1076)
renovate[bot] Nov 20, 2024
b3460da
Update dependency com.google.errorprone:error_prone_core to v2.36.0 (…
renovate[bot] Nov 20, 2024
2816de5
Update dependency org.robolectric:robolectric to v4.14.1 (#1081)
renovate[bot] Nov 21, 2024
30b8c3c
Update codecov/codecov-action action to v5.0.7 (#1079)
renovate[bot] Nov 21, 2024
231e941
chore(deps): update kotlin to v2.1.0 (#1083)
renovate[bot] Dec 2, 2024
b8b2e9b
Update dependency com.android.tools.build:gradle to v8.7.3 (#1085)
renovate[bot] Dec 2, 2024
0a6d788
fix: multiple server-tracing headers aren't handled (#1077) (#1087)
breedx-splk Dec 2, 2024
9a0fda4
Updating error stacktrace identifier names (#1069) (#1088)
breedx-splk Dec 2, 2024
57f7d00
Clean up some build warnings (#997) (#1090)
breedx-splk Dec 2, 2024
9e45ca7
fix(deps): update dependency org.junit.platform:junit-platform-launch…
renovate[bot] Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"extends": [
"config:base"
],
"baseBranches": ["main", "v1.7.x"],
"packageRules": [
{
"matchPackageNames": [
Expand All @@ -17,6 +18,15 @@
// stable version of opentelemetry-instrumentation-bom-alpha so this logic doesn't apply
"ignoreUnstable": false
},
{
// Don't bump to 2.x in the 1.x line
"matchUpdateTypes": ["major"],
"matchPackagePatterns": [
"^io.opentelemetry.instrumentation"
],
"matchBaseBranches": ["v1.7.x"],
"enabled": false
},
{
// navigation-fragment 2.7.0 and above require android api 34+, which we are not ready for
// yet due to android gradle plugin only supporting min 33.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/github-action@v2.4.0
uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:

jobs:
validation:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.2

- uses: gradle/actions/wrapper-validation@v4.0.0
- uses: gradle/actions/wrapper-validation@v4.2.1
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ concurrency:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.2

- name: Set up JDK 17 for running Gradle
uses: actions/setup-java@v4.2.2
uses: actions/setup-java@v4.5.0
with:
distribution: temurin
java-version: 17
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ concurrency:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.2
- name: Set up JDK 17 for running Gradle
uses: actions/setup-java@v4.2.2
uses: actions/setup-java@v4.5.0
with:
distribution: temurin
java-version: 17

- name: Build and test
run: touch ./local.properties; ./gradlew check javadoc assemble
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.0.7
check_links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.2
- name: Link Checker
uses: lycheeverse/lychee-action@v1.10.0
uses: lycheeverse/lychee-action@v2.1.0
with:
fail: true
lycheeVersion: 0.10.3
lycheeVersion: v0.16.1
3 changes: 2 additions & 1 deletion .lycheeignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
https://rum-ingest/
https://appassets.androidplatform.net/assets/index.html
https://appassets.androidplatform.net/assets/first.html
https://appassets.androidplatform.net/assets/second.html
https://appassets.androidplatform.net/assets/second.html
https://mvnrepository.com/artifact/com.splunk/splunk-otel-android/latest
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Unreleased

### Version 1.7.0 - 2024-08-12

This is a regular maintenance release.

This version depends on these upstream versions:

* opentelemetry-android v0.4.0
* opentelemetry-instrumentation-api v1.33.5
* opentelemetry-sdk v1.41.0

Enhancements:

* Disable console exporter from upstream (#894)

### Version 1.6.0 - 2024-07-10

This is a regular maintenance release.
Expand Down
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,12 @@
</strong>
</p>

<p align="center">
<img alt="Stable" src="https://img.shields.io/badge/status-stable-informational?style=for-the-badge">
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.33.4">
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-1.32.1-blueviolet?style=for-the-badge">
</a>
<a href="https://github.com/signalfx/gdi-specification/releases/tag/v1.4.0">
<img alt="Splunk GDI specification" src="https://img.shields.io/badge/GDI-1.4.0-blueviolet?style=for-the-badge">
</a>
<a href="https://github.com/signalfx/splunk-otel-android/releases">
<img alt="GitHub release (latest SemVer)" src="https://img.shields.io/github/v/release/signalfx/splunk-otel-android?include_prereleases&style=for-the-badge">
</a>
<a href="https://maven-badges.herokuapp.com/maven-central/com.splunk/splunk-otel-android">
<img alt="Maven Central" src="https://img.shields.io/maven-central/v/com.splunk/splunk-otel-android?style=for-the-badge">
</a>
<a href="https://github.com/signalfx/splunk-otel-android/actions/workflows/main.yaml">
<img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/signalfx/splunk-otel-android/main.yaml?branch=main&style=for-the-badge">
</a>
</p>
![Stable][stable-image]
[![OpenTelemetry Instrumentation for Java Version][otel-image]][otel-link]
[![OpenTelemetry Instrumentation for Android Version][android-image]][android-link]
[![Splunk GDI specification][gdi-image]][gdi-link]
[![Maven Central][maven-image]][maven-link]
[![Build Status][build-image]][build-link]

---

Expand Down Expand Up @@ -69,3 +57,15 @@ in the official documentation.

The Splunk Android RUM Instrumentation is licensed under the terms of the Apache Software License
version 2.0. See [the license file](./LICENSE) for more details.

[stable-image]: https://img.shields.io/badge/status-stable-informational?style=for-the-badge
[otel-image]: https://img.shields.io/badge/otel-1.33.5-blueviolet?style=for-the-badge
[otel-link]: https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.33.5
[android-image]: https://img.shields.io/github/v/release/signalfx/splunk-otel-android?include_prereleases&style=for-the-badge
[android-link]: https://github.com/signalfx/splunk-otel-android/releases
[gdi-image]: https://img.shields.io/badge/GDI-1.4.0-blueviolet?style=for-the-badge
[gdi-link]: https://github.com/signalfx/gdi-specification/releases/tag/v1.4.0
[maven-image]: https://img.shields.io/maven-central/v/com.splunk/splunk-otel-android?style=for-the-badge
[maven-link]: https://mvnrepository.com/artifact/com.splunk/splunk-otel-android/latest
[build-image]: https://img.shields.io/github/actions/workflow/status/signalfx/splunk-otel-android/main.yaml?branch=main&style=for-the-badge
[build-link]: https://github.com/signalfx/splunk-otel-android/actions/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ dependencies {
testImplementation(libs.findLibrary("assertj-core").get())
testImplementation(libs.findBundle("mocking").get())
testImplementation(libs.findBundle("junit").get())
testRuntimeOnly(libs.findLibrary("junit-platform-launcher").get())
testImplementation(libs.findLibrary("robolectric").get())
testImplementation(libs.findLibrary("opentelemetry-sdk-testing").get())
coreLibraryDesugaring(libs.findLibrary("desugarJdkLibs").get())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ if (isAndroidProject) {
}

dependencies {
errorprone("com.uber.nullaway:nullaway:0.11.1")
errorprone("com.google.errorprone:error_prone_core:2.30.0")
errorprone("com.uber.nullaway:nullaway:0.12.1")
errorprone("com.google.errorprone:error_prone_core:2.36.0")
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
android.useAndroidX=true

# generate the BuildConfig class that contains the app version
version=1.7.0
version=1.8.0
group=com.splunk
39 changes: 20 additions & 19 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[versions]
opentelemetry-core = "1.41.0"
opentelemetry-core-alpha = "1.41.0-alpha"
opentelemetry-inst = "1.33.5"
opentelemetry-inst-alpha = "1.33.5-alpha"
opentelemetry-core = "1.42.1"
opentelemetry-core-alpha = "1.42.1-alpha"
opentelemetry-inst = "1.33.6"
opentelemetry-inst-alpha = "1.33.6-alpha"
opentelemetry-android = "0.4.0-alpha"
mockito = "5.12.0"
junit = "5.10.3"
mockito = "5.14.2"
junit = "5.11.3"
spotless = "6.25.0"
kotlin = "2.0.0"
lifecycle-runtime-ktx = "2.8.4"
activity-compose = "1.9.1"
compose-bom = "2024.06.00"
kotlin = "2.1.0"
lifecycle-runtime-ktx = "2.8.7"
activity-compose = "1.9.3"
compose-bom = "2024.11.00"
navigationCompose = "2.7.7"

[libraries]
Expand All @@ -28,14 +28,14 @@ opentelemetry-exporter-otlp = { module = "io.opentelemetry:opentelemetry-exporte
opentelemetry-exporter-logging = { module = "io.opentelemetry:opentelemetry-exporter-logging", version.ref = "opentelemetry-core" }
opentelemetry-sdk-testing = { module = "io.opentelemetry:opentelemetry-sdk-testing", version.ref = "opentelemetry-core" }

zipkin-sender-okhttp = "io.zipkin.reporter2:zipkin-sender-okhttp3:3.4.0"
zipkin-sender-okhttp = "io.zipkin.reporter2:zipkin-sender-okhttp3:3.4.2"

androidx-browser = "androidx.browser:browser:1.8.0"
androidx-core = "androidx.core:core:1.13.1"
androidx-core = "androidx.core:core:1.15.0"
androidx-navigation-fragment = "androidx.navigation:navigation-fragment:2.7.7"
androidx-navigation-ui = "androidx.navigation:navigation-ui:2.7.7"
androidx-work = "androidx.work:work-runtime:2.9.1"
androidx-webkit = "androidx.webkit:webkit:1.11.0"
androidx-work = "androidx.work:work-runtime:2.10.0"
androidx-webkit = "androidx.webkit:webkit:1.12.1"

# Volley
android-volley = "com.android.volley:volley:1.2.1"
Expand All @@ -47,16 +47,17 @@ mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
mockito-junit-jupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockito" }
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version = "1.11.3" }
junit-vintage-engine = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "junit" }
mockwebserver = "com.google.mockwebserver:mockwebserver:20130706"
robolectric = "org.robolectric:robolectric:4.13"
robolectric = "org.robolectric:robolectric:4.14.1"
assertj-core = "org.assertj:assertj-core:3.26.3"

#Compilation tools
desugarJdkLibs = "com.android.tools:desugar_jdk_libs:2.0.4"
android-plugin = "com.android.tools.build:gradle:8.5.2"
errorprone-plugin = "net.ltgt.gradle:gradle-errorprone-plugin:4.0.1"
nullaway-plugin = "net.ltgt.gradle:gradle-nullaway-plugin:2.0.0"
desugarJdkLibs = "com.android.tools:desugar_jdk_libs:2.1.3"
android-plugin = "com.android.tools.build:gradle:8.7.3"
errorprone-plugin = "net.ltgt.gradle:gradle-errorprone-plugin:4.1.0"
nullaway-plugin = "net.ltgt.gradle:gradle-nullaway-plugin:2.1.0"
spotless-plugin = { module = "com.diffplug.spotless:spotless-plugin-gradle", version.ref = "spotless" }
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle-runtime-ktx" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" }
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=d725d707bfabd4dfdc958c624003b3c80accc03f7037b5122c4b1d0ef15cecab
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionSha256Sum=f397b287023acdba1e9f6fc5ea72d22dd63669d59ed4a289a29b1a76eee151c6
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 2 additions & 1 deletion sample-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ localProperties.load(FileInputStream(rootProject.file("local.properties")))
android {
namespace = "com.splunk.android.sample"

compileSdk = 34
compileSdk = 35
buildToolsVersion = "34.0.0"

defaultConfig {
Expand Down Expand Up @@ -97,6 +97,7 @@ dependencies {
implementation(libs.opentelemetry.sdk)
implementation(libs.opentelemetry.api.incubator)
testImplementation(libs.bundles.junit)
testRuntimeOnly(libs.junit.platform.launcher)
androidTestImplementation(libs.androidx.test.core)
androidTestImplementation(libs.androidx.junit)
debugImplementation(libs.androidx.ui.tooling)
Expand Down
2 changes: 1 addition & 1 deletion splunk-otel-android-volley/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
android {
namespace = "com.splunk.android.rum.volley"

compileSdk = 34
compileSdk = 35
buildToolsVersion = "34.0.0"

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.assertj.core.api.Fail.fail;
import static org.junit.Assert.assertTrue;

import com.android.volley.DefaultRetryPolicy;
import com.android.volley.Request;
Expand Down Expand Up @@ -168,7 +169,10 @@ public void connectionError() throws IOException {

assertThat(span.getEvents())
.hasSize(1)
.allSatisfy(e -> e.getName().equals(SemanticAttributes.EXCEPTION_EVENT_NAME));
.allSatisfy(
e ->
assertThat(e.getName())
.isEqualTo(SemanticAttributes.EXCEPTION_EVENT_NAME));

verifyAttributes(span, url, null, null);
}
Expand All @@ -191,7 +195,7 @@ public void reusedRequest() throws IOException, InterruptedException {
testQueue.addToQueue(stringRequest);
testQueue.addToQueue(stringRequest);

testResponseListener.countDownLatch.await(10, TimeUnit.SECONDS);
assertTrue(testResponseListener.countDownLatch.await(10, TimeUnit.SECONDS));

assertThat(server.getRequestCount()).isEqualTo(2);

Expand Down Expand Up @@ -241,16 +245,11 @@ public void concurrency() throws IOException, InterruptedException {
}

latch.countDown();
testResponseListener.countDownLatch.await(10, TimeUnit.SECONDS);
assertTrue(testResponseListener.countDownLatch.await(10, TimeUnit.SECONDS));

assertThat(server.getRequestCount()).isEqualTo(50);

otelTesting
.getSpans()
.forEach(
span -> {
verifyAttributes(span, url, 200L, "success");
});
otelTesting.getSpans().forEach(span -> verifyAttributes(span, url, 200L, "success"));

pool.shutdown();
}
Expand Down
2 changes: 1 addition & 1 deletion splunk-otel-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
android {
namespace = "com.splunk.android.rum"

compileSdk = 34
compileSdk = 35
buildToolsVersion = "34.0.0"

defaultConfig {
Expand Down
Loading
Loading