1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| plugins { id 'java' id 'maven-publish' id 'org.springframework.boot' version '3.3.1' id 'io.spring.dependency-management' version '1.1.5' id 'org.springframework.boot.experimental.thin-launcher' version '1.0.31.RELEASE' }
bootJar { archiveFileName = "${project.name}.jar" }
thinJar { archiveFileName = "${project.name}-thin.jar" }
thinResolvePrepare { delete file('thin') into file('thin') }
publishing { publications { maven(MavenPublication) { from components.java } } }
generatePomFileForMavenPublication { destination = file('pom.xml') }
|