Allow dedicated build files for subprojects

With this change, each subproject can configure its
build in a dedicated file like:

```
spring-core/spring-core.gradle
spring-web/spring-web.gradle
```

Issue: SPR-15885
This commit is contained in:
Brian Clozel 2017-08-21 14:40:35 +02:00
parent 4d306e2d85
commit 11418d8d28
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,3 @@
rootProject.name = "spring"
include "spring-aop" include "spring-aop"
include "spring-aspects" include "spring-aspects"
include "spring-beans" include "spring-beans"
@ -27,3 +25,8 @@ include "spring-framework-bom"
// Exposes gradle buildSrc for IDE support // Exposes gradle buildSrc for IDE support
include "buildSrc" include "buildSrc"
rootProject.children.find{ it.name == "buildSrc" }.name = "spring-build-src" rootProject.children.find{ it.name == "buildSrc" }.name = "spring-build-src"
rootProject.name = 'spring'
rootProject.children.each {project ->
project.buildFileName = "${project.name}.gradle"
}