Files
spring-boot-data-geode/settings.gradle
John Blum c023a22455 Add new 'spring-geode-starter-logging' and 'spring-gemfire-starter-logging' modules.
The new modules enable logging output to be rendered for both Apache Geode & Pivotal GemFire given the right configuration now that the SDG @EnableLogging annotaiton is effectively deprecated since the corresponding GemFire/Geode properties (i.e. gemfire.log-level) no longer have any effect.

Resolves gh-73.
2020-02-10 20:22:56 -08:00

37 lines
902 B
Groovy

rootProject.name = 'spring-boot-data-geode-build'
FileTree buildFiles = fileTree(rootDir) {
include '**/*.gradle'
exclude '/build.gradle', 'settings.gradle', '**/gradle', 'buildSrc', '.*'
}
String rootDirPath = rootDir.absolutePath + File.separator
buildFiles.each { File buildFile ->
boolean isDefaultName = 'build.gradle'.equals(buildFile.name)
if (isDefaultName) {
String buildFilePath = buildFile.parentFile.absolutePath
String projectPath = buildFilePath.replace(rootDirPath, '').replaceAll(File.separator, ':')
include projectPath
}
else {
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
}
}
include 'spring-gemfire-starter-logging'