core/settings.gradle

55 lines
1.4 KiB
Groovy
Raw Normal View History

2021-11-24 07:52:27 +00:00
rootProject.name = 'postssystem'
2020-07-31 06:29:23 +00:00
2020-08-10 11:27:16 +00:00
String[] includes = [
2021-11-24 07:52:27 +00:00
":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",
2021-11-24 14:25:05 +00:00
":features:content:common",
":features:content:client",
":features:content:server",
2021-11-24 14:32:21 +00:00
":features:content:text:common",
":features:content:text:client",
":features:content:text:server",
2021-11-24 07:52:27 +00:00
":server",
":client",
2020-08-10 11:27:16 +00:00
]
2020-11-25 07:53:15 +00:00
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)
2020-08-10 11:27:16 +00:00
}