GoogleCloudPlatform / GoogleCloudPlatform/appengine-plugins

Spring Boot Gradle plugin >= v2.5.0 outputs both executable fat jar and plain jar, and GAE Gradle plugin uses plain one.

Open
#1,003 9 comments 0 reactions 0 assignees View on GitHub
enhancement p2
Dominant language
Java
Stars
47
Forks
27
PR merge metrics
No merged PRs in 30d

Description

This 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

reference:
https://docs.spring.io/spring-boot/docs/2.5.1/gradle-plugin/reference/htmlsingle/#packaging-executable.and-plain-archives

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.