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.
37 lines
902 B
Groovy
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'
|
|
|