PlaguPoster/settings.gradle

26 lines
707 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",
2022-08-21 10:03:27 +00:00
":ratings",
2022-09-04 07:27:35 +00:00
":ratings:source",
2022-08-20 16:26:38 +00:00
":triggers:command",
2022-09-04 07:27:35 +00:00
// ":settings",
2022-08-19 18:52:31 +00:00
":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")