5ed7c8f501
Added core, config and samples modules. Moved sample project into samples module. Closes gh-10
17 lines
526 B
Groovy
17 lines
526 B
Groovy
rootProject.name = 'spring-authorization-server'
|
|
|
|
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
|
|
}
|