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

Add support for passing new Spring Boot JarLauncher class #178

Merged

Conversation

hjellek
Copy link
Contributor

@hjellek hjellek commented Jan 12, 2024

Attempt at fixing #177

Works in our project, and has backward compatability.

Open to suggestions for improvements!

Copy link

Thanks for the contribution! Before we can merge this, we need @hjellek to sign the Salesforce Inc. Contributor License Agreement.

@hjellek
Copy link
Contributor Author

hjellek commented Jan 12, 2024

I have signed the CLA now

@@ -385,6 +385,7 @@ def springboot(
name,
java_library,
boot_app_class,
spring_boot_launcher_class = "org.springframework.boot.loader.JarLauncher",
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: for consistency, can you rename attr to boot_launcher_class

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Of course

Copy link
Contributor

@plaird plaird left a comment

Choose a reason for hiding this comment

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

One small nitpick, otherwise looks good. Thanks!

@plaird plaird merged commit 5e63263 into salesforce:main Jan 15, 2024
1 check passed
@hjellek hjellek deleted the support-spring-boot-3.2.0-jar-launcher branch January 15, 2024 07:14
@plaird
Copy link
Contributor

plaird commented Jan 15, 2024

I am preparing release 2.3.1 with this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants