Spring Boot Gradle plugin >= v2.5.0 outputs both executable fat jar and plain jar, and GAE Gradle plugin uses plain one.
See original GitHub issueThis is not a bug, but a feature request.
Spring Boot Gradle plugin in the current version generates both executable fat jar and plain jar in the default settings like
build/libs/aaa-0.0.1.jar
build/libs/aaa-0.0.1-plain.jar
, and when I run ./gradlew appengineShowConfiguration
, it shows stage artifact is plain one.
My feature request is that GAE plugin will use fat one automatically without specifying artifact or disabling generating plain one.
environment: macOS10.15.7 openjdk version “11.0.12” 2021-07-20 LTS gradle 6.8.3 Spring Boot Gradle plugin 2.5.4 GAE Gradle plugin 2.4.2 GAE: flexible and custom runtime
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Spring Boot Gradle Plugin Reference Guide
It allows you to package executable jar or war archives, run Spring Boot applications, and use the dependency management provided by spring-boot ......
Read more >Spring Boot 2 Gradle plugin without executable jar
When the application plugin is configured, Spring Boot creates an additional distribution that contains the application packages as a fat jar ...
Read more >Issues · GoogleCloudPlatform/app-gradle-plugin - GitHub
Spring Boot Gradle plugin >= v2.5.0 outputs both executable fat jar and plain jar, and GAE Gradle plugin uses plain one. enhancement p2...
Read more >Creating a Fat Jar in Gradle | Baeldung
Basically, a fat jar (also known as uber-jar) is a self-sufficient archive which contains both classes and dependencies needed to run an ...
Read more >Learning the Basics - Gradle User Manual
Popular public repositories include Maven Central and the Google Android repository. Gradle provides built-in shorthand notations for these widely-used ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
more friendly one:
You can set
appengine.stage.artifact
to specify a deploy artifact:I’m afraid this feature request is a very low priority for us. We accept contributions though.