core/settings.gradle

47 lines
1.2 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",
":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
}