Skip to content

Gradle 9 prereq: convert jar smoke tests to war#4615

Closed
trask wants to merge 2 commits intomainfrom
gradle9-prereq-spring
Closed

Gradle 9 prereq: convert jar smoke tests to war#4615
trask wants to merge 2 commits intomainfrom
gradle9-prereq-spring

Conversation

@trask
Copy link
Member

@trask trask commented Feb 6, 2026

Upgrading to Gradle 9.3.1 forces an upgrade of Spring Boot Gradle plugin from 2.5.12 to 3.4.2 (Spring Boot 2.7.x uses deprecated Gradle APIs removed in Gradle 9). Spring Boot 3.x compiles its bootJar launcher classes for Java 17+, making it impossible to run these JARs on Java 8. This breaks all smoke tests using the ai.smoke-test-jar convention with JAVA_8 environments.

This PR switches most of the smoke tests over from jar to war where we don't have this problem.

Will send another PR to deal with the remaining jar tests in a different way.

@trask trask force-pushed the gradle9-prereq-spring branch from 5250657 to 6b6d1d6 Compare February 6, 2026 22:29
@trask trask closed this Feb 6, 2026
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.

1 participant