PlaguPoster/settings.gradle

22 lines
624 B
Groovy
Raw Normal View History

2022-08-18 12:59:05 +00:00
rootProject.name = 'plaguposter'
2022-08-18 11:56:55 +00:00
String[] includes = [
2022-08-19 18:52:31 +00:00
":common",
2022-08-19 18:24:00 +00:00
":posts",
2022-08-19 18:52:31 +00:00
":posts_registrar",
":runner"
2022-08-18 11:56:55 +00:00
]
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")