I’m not able to create a global in settings.gradle so that when a bean tries to interpret a placeholder, that placeholder gets the corresponding path variable substitued like:
def basedir = rootProject.projectDir.absolutePath
I’m not able to create a global in settings.gradle so that when a bean tries to interpret a placeholder, that placeholder gets the corresponding path variable substitued like:
def basedir = rootProject.projectDir.absolutePath
Inside of build.gradle:
processResources {
filesMatching('**/*.properties') {
filter {
it.replace('${basedir}',
project.projectDir.absolutePath)
}
}
}