Skip to content

Conversation

@adinauer
Copy link
Member

@adinauer adinauer commented Sep 9, 2025

📜 Description

Do not auto install Spring Boot 3 / Spring 6 dependencies for Spring Boot 4 / Spring 7 and instead install the correct dependencies.

💡 Motivation and Context

We've recently added support for Spring Boot 4 (pre releases) but the Gradle plugins still tries to add our dependency for Spring Boot 3 (sentry-spring-boot-jakarta) instead of (sentry-spring-boot-4), which cause the application to fail to compile/start.

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

Copy link
Member Author

adinauer commented Sep 9, 2025

Copy link
Member

@lcian lcian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
I think the failures on AGP 9-alpha4 are expected as I see it that build also fails on main currently.

@adinauer adinauer force-pushed the 09-09-include_version_in_dependency_auto_install_messages branch from 22c2841 to 3420106 Compare September 10, 2025 07:57
@adinauer adinauer force-pushed the 09-09-auto_install_spring_boot_4_and_spring_7_modules branch from 57937eb to 0b7d45b Compare September 10, 2025 07:57
Base automatically changed from 09-09-include_version_in_dependency_auto_install_messages to main September 10, 2025 10:05
@adinauer adinauer force-pushed the 09-09-auto_install_spring_boot_4_and_spring_7_modules branch from 0b7d45b to 10f215c Compare September 10, 2025 10:11
@adinauer adinauer merged commit e5f8eb9 into main Sep 10, 2025
18 checks passed
@adinauer adinauer deleted the 09-09-auto_install_spring_boot_4_and_spring_7_modules branch September 10, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants