Class ThinLauncherPlugin
- java.lang.Object
-
- org.springframework.boot.experimental.gradle.ThinLauncherPlugin
-
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class ThinLauncherPlugin extends java.lang.Object implements org.gradle.api.Plugin<org.gradle.api.Project>GradlePluginfor Spring Boot's thin launcher.If the Java plugin is applied to the project, some tasks are added to the project.
- "thinResolve": runs the project jar and download its dependencies. If you have more than one jar task then an additional task is created for each one named "thinResolve[JarTaskName]" (where "JarTaskName" is the capitalized name of the jar task).
- "thinResolvePrepare": copies the project jar to the "root" directory preparing for the resolution. The same naming convention applies to multiple jar tasks.
- "thinProperties": calculates thin.properties and puts them in the main build output.
- "thinPom": runs automatically if you apply the Maven plugin. Generates a pom.xml and puts it in the main build output.
- Author:
- Andy Wilkinson
-
-
Constructor Summary
Constructors Constructor Description ThinLauncherPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.gradle.api.Project project)
-