Add support for spring-devtools.properties

Allow `META-INF/spring-devtools.properties` files to be used by
application developers to declare is specific jars should be included
or excluded from the RestartClassLoader.

A typical example where this might be used is a company that develops
it's own set of internal JARs that are used by developers but not
usually imported into their IDE.

See gh-3316
This commit is contained in:
Phillip Webb
2015-11-13 10:26:34 -08:00
parent 78f739dbdd
commit 3e8cafaf97
6 changed files with 212 additions and 28 deletions

View File

@@ -0,0 +1,6 @@
restart.exclude.spring-boot=/spring-boot/target/classes/
restart.exclude.spring-boot-devtools=/spring-boot-devtools/target/classes/
restart.exclude.spring-boot-autoconfigure=/spring-boot-autoconfigure/target/classes/
restart.exclude.spring-boot-actuator=/spring-boot-actuator/target/classes/
restart.exclude.spring-boot-starter=/spring-boot-starter/target/classes/
restart.exclude.spring-boot-starters=/spring-boot-starter-[\\w-]+/