@ -713,16 +713,31 @@ With Maven the dependency should be declared as optional, as shown in the follow
</dependency>
</dependency>
----
----
With Gradle 4.5 and earlier, the dependency should be declared in the `compileOnly` configuration, as shown in the following example:
If you have defined `@ConfigurationProperties` in your application, make sure to configure the `spring-boot-maven-plugin` to prevent the `repackage` goal from adding the dependency into the fat jar: