mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-11-14 03:53:47 +00:00
35 lines
973 B
Groovy
35 lines
973 B
Groovy
rootProject.name = 'plaguposter'
|
|
|
|
String[] includes = [
|
|
":common",
|
|
":posts",
|
|
":posts:panel",
|
|
":posts_registrar",
|
|
":ratings",
|
|
":ratings:source",
|
|
":ratings:selector",
|
|
":ratings:gc",
|
|
":triggers:command",
|
|
":triggers:selector_with_timer",
|
|
":triggers:selector_with_scheduling",
|
|
":triggers:timer",
|
|
":triggers:timer:disablers:ratings",
|
|
":triggers:timer:disablers:autoposts",
|
|
":inlines",
|
|
// ":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")
|