Skip to content

build: Bump target and compile SDK to 37 (JAVA-648)#5796

Open
runningcode wants to merge 4 commits into
mainfrom
claude/sdk-37-bump-c20c84
Open

build: Bump target and compile SDK to 37 (JAVA-648)#5796
runningcode wants to merge 4 commits into
mainfrom
claude/sdk-37-bump-c20c84

Conversation

@runningcode

@runningcode runningcode commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

📜 Description

Bumps targetSdk and compileSdk from 36 to 37 in gradle/libs.versions.toml.

Resolves JAVA-648
Closes #5778

💚 How did you test it?

Went though all the features of the sample app on a real android 17 device.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

runningcode and others added 3 commits July 21, 2026 14:05
Raise targetSdk and compileSdk from 36 to 37 and remove the temporary
GradleDependency lint suppression that was in place only until this bump.

API 37 makes MediaCodecInfo.getVideoCapabilities() nullable, so guard the
access in SimpleVideoEncoder to keep it compiling.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Now that the integration test modules target API 37, lint no longer flags
OldTargetApi, so remove the temporary suppression added while they were on 36.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@runningcode runningcode changed the title build: Bump target and compile SDK to 37 build: Bump target and compile SDK to 37 (JAVA-648) Jul 21, 2026
@linear-code

linear-code Bot commented Jul 21, 2026

Copy link
Copy Markdown

JAVA-648

@sentry

sentry Bot commented Jul 21, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.49.0 (1) release

⚙️ sentry-android Build Distribution Settings

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 320.06 ms 399.58 ms 79.52 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
5b1a06b 352.27 ms 413.70 ms 61.43 ms
2124a46 319.19 ms 415.04 ms 95.85 ms
ad8da22 314.52 ms 352.47 ms 37.95 ms
d15471f 304.55 ms 408.43 ms 103.87 ms
0ee65e9 317.37 ms 366.50 ms 49.13 ms
2195398 351.77 ms 433.22 ms 81.45 ms
ee747ae 358.21 ms 389.41 ms 31.20 ms
abfcc92 309.54 ms 380.32 ms 70.78 ms
8558cac 306.16 ms 355.24 ms 49.09 ms
d15471f 310.26 ms 377.04 ms 66.78 ms

App size

Revision Plain With Sentry Diff
5b1a06b 0 B 0 B 0 B
2124a46 1.58 MiB 2.12 MiB 551.51 KiB
ad8da22 1.58 MiB 2.29 MiB 719.83 KiB
d15471f 1.58 MiB 2.13 MiB 559.54 KiB
0ee65e9 0 B 0 B 0 B
2195398 0 B 0 B 0 B
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
abfcc92 1.58 MiB 2.13 MiB 557.31 KiB
8558cac 0 B 0 B 0 B
d15471f 1.58 MiB 2.13 MiB 559.54 KiB

@runningcode
runningcode marked this pull request as ready for review July 21, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump target and compile SDK to 37 in sentry-java

1 participant