88 lines
2.3 KiB
Groovy
88 lines
2.3 KiB
Groovy
rootProject.name = 'postssystem'
|
|
|
|
String[] includes = [
|
|
":features:common:common",
|
|
":features:common:client",
|
|
":features:common:server",
|
|
|
|
":features:files:common",
|
|
":features:files:client",
|
|
":features:files:server",
|
|
|
|
":features:status:common",
|
|
":features:status:client",
|
|
":features:status:server",
|
|
|
|
":features:users:common",
|
|
":features:users:client",
|
|
":features:users:server",
|
|
|
|
":features:roles:common",
|
|
":features:roles:client",
|
|
":features:roles:server",
|
|
|
|
":features:roles:manager:common",
|
|
":features:roles:manager:client",
|
|
":features:roles:manager:server",
|
|
|
|
":features:auth:common",
|
|
":features:auth:client",
|
|
":features:auth:server",
|
|
|
|
":features:content:common",
|
|
":features:content:client",
|
|
":features:content:server",
|
|
|
|
":features:content:text:common",
|
|
":features:content:text:client",
|
|
":features:content:text:server",
|
|
|
|
":features:content:binary:common",
|
|
":features:content:binary:client",
|
|
":features:content:binary:server",
|
|
|
|
":features:posts:common",
|
|
":features:posts:client",
|
|
":features:posts:server",
|
|
|
|
":services:posts:common",
|
|
":services:posts:client",
|
|
":services:posts:server",
|
|
|
|
":features:publication:common",
|
|
":features:publication:client",
|
|
":features:publication:server",
|
|
|
|
":publicators:simple:common",
|
|
":publicators:simple:client",
|
|
":publicators:simple:server",
|
|
|
|
":targets:telegram:publication:server",
|
|
|
|
":targets:telegram:loader:client",
|
|
":targets:telegram:loader:common",
|
|
":targets:telegram:loader:server",
|
|
|
|
":targets:telegram:content:polls:client",
|
|
":targets:telegram:content:polls:common",
|
|
":targets:telegram:content:polls:server",
|
|
|
|
":server",
|
|
":client",
|
|
":client:uikit",
|
|
]
|
|
|
|
|
|
includes.each { originalName ->
|
|
String projectDirectory = "${rootProject.projectDir.getAbsolutePath()}${originalName.replaceAll(":", File.separator)}"
|
|
String projectName = "${rootProject.name}${originalName.replaceAll(":", ".")}"
|
|
String projectIdentifier = ":${projectName}"
|
|
include projectIdentifier
|
|
ProjectDescriptor project = project(projectIdentifier)
|
|
project.name = projectName
|
|
project.projectDir = new File(projectDirectory)
|
|
println(project)
|
|
}
|
|
|
|
enableFeaturePreview("VERSION_CATALOGS")
|