Merge branch '1.5.x'
This commit is contained in:
commit
d79546da74
|
|
@ -400,7 +400,7 @@ want the other Boot features but not this one)
|
||||||
|
|
||||||
|`excludeDevtools`
|
|`excludeDevtools`
|
||||||
|Boolean flag to indicate if the devtools jar should be excluded from the repackaged
|
|Boolean flag to indicate if the devtools jar should be excluded from the repackaged
|
||||||
archives. Defaults to `false`.
|
archives. Defaults to `true`.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -768,9 +768,9 @@ applied to other modules using your project. Gradle does not support `optional`
|
||||||
dependencies out-of-the-box so you may want to have a look to the
|
dependencies out-of-the-box so you may want to have a look to the
|
||||||
{propdeps-plugin}[`propdeps-plugin`] in the meantime.
|
{propdeps-plugin}[`propdeps-plugin`] in the meantime.
|
||||||
|
|
||||||
TIP: If you want to ensure that devtools is never included in a production build, you can
|
TIP: repackaged archives do not contain devtools by default. If you want to use certain
|
||||||
use the `excludeDevtools` build property to completely remove the JAR. The property is
|
remote devtools feature, you'll need to enable the `excludeDevtools` build property to
|
||||||
supported with both the Maven and Gradle plugins.
|
include it. The property is supported with both the Maven and Gradle plugins.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ public class SpringBootPluginExtension {
|
||||||
/**
|
/**
|
||||||
* Whether Spring Boot Devtools should be excluded from the fat jar.
|
* Whether Spring Boot Devtools should be excluded from the fat jar.
|
||||||
*/
|
*/
|
||||||
boolean excludeDevtools = false;
|
boolean excludeDevtools = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Location of an agent jar to attach to the VM when running the application with
|
* Location of an agent jar to attach to the VM when running the application with
|
||||||
|
|
|
||||||
|
|
@ -167,11 +167,11 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||||
private Properties embeddedLaunchScriptProperties;
|
private Properties embeddedLaunchScriptProperties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exclude Spring Boot devtools.
|
* Exclude Spring Boot devtools from the repackaged archive.
|
||||||
* @since 1.3
|
* @since 1.3
|
||||||
*/
|
*/
|
||||||
@Parameter(defaultValue = "false")
|
@Parameter(defaultValue = "true")
|
||||||
private boolean excludeDevtools;
|
private boolean excludeDevtools = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Include system scoped dependencies.
|
* Include system scoped dependencies.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue