PlaguPoster/settings.gradle
2022-09-04 13:27:35 +06:00

26 lines
707 B
Groovy

rootProject.name = 'plaguposter'
String[] includes = [
":common",
":posts",
":posts_registrar",
":ratings",
":ratings:source",
":triggers:command",
// ":settings",
":runner"
]
includes.each { originalName ->
String projectDirectory = "${rootProject.projectDir.getAbsolutePath()}${originalName.replace(":", File.separator)}"
String projectName = "${rootProject.name}${originalName.replace(":", ".")}"
String projectIdentifier = ":${projectName}"
include projectIdentifier
ProjectDescriptor project = project(projectIdentifier)
project.name = projectName
project.projectDir = new File(projectDirectory)
}
enableFeaturePreview("VERSION_CATALOGS")