core/settings.gradle

33 lines
948 B
Groovy
Raw Normal View History

rootProject.name='postssystem'
2020-07-31 06:29:23 +00:00
2020-08-10 11:27:16 +00:00
String[] includes = [
':core:api',
':core:exposed',
':core:ktor',
':core:ktor:common',
':core:ktor:client',
2020-08-12 13:42:18 +00:00
':core:ktor:server',
2020-08-05 10:21:30 +00:00
2020-08-10 11:27:16 +00:00
':publishing:api',
':publishing:exposed',
':publishing:ktor:common',
2020-08-15 06:37:52 +00:00
':publishing:ktor:client',
2020-09-09 18:04:25 +00:00
':publishing:ktor:server',
':business_cases:post_creating:server',
':business_cases:post_creating:common',
':business_cases:post_creating: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
}