2020-04-16 03:21:52 +07:00
|
|
|
rootProject.name = 'spring-authorization-server'
|
2020-04-24 02:37:17 +07:00
|
|
|
|
|
|
|
FileTree buildFiles = fileTree(rootDir) {
|
|
|
|
include '**/*.gradle'
|
|
|
|
exclude 'build', '**/gradle', 'settings.gradle', 'buildSrc', '/build.gradle', '.*', 'out'
|
|
|
|
}
|
|
|
|
|
|
|
|
buildFiles.each { File buildFile ->
|
|
|
|
String projectName = buildFile.name.replace('.gradle', '');
|
|
|
|
String projectPath = ':' + projectName;
|
|
|
|
include projectPath
|
|
|
|
def project = findProject("${projectPath}")
|
|
|
|
project.name = projectName
|
|
|
|
project.projectDir = buildFile.parentFile
|
|
|
|
project.buildFileName = buildFile.name
|
|
|
|
}
|