I am using Spring Boot 2 in my Gradle project to do a build to jar in Jenkins, and I would like to change the name of that jar file.
By default, Spring Boot 2 used the G
For me worked
project(':org.awseome.subproject') { jar() { archiveFileName = 'nameOfJar.jar' } }
inside of main build.gradle. Used
Gradle 6.X Spring Boot 2.X