mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2024-11-08 09:23:51 +00:00
24 lines
695 B
Groovy
24 lines
695 B
Groovy
rootProject.name = 'tgbotapi.libraries'
|
|
|
|
String[] includes = [
|
|
":cache:admins:common",
|
|
":cache:admins:micro_utils",
|
|
":cache:admins:plagubot",
|
|
|
|
":cache:content:common",
|
|
":cache:content:micro_utils",
|
|
|
|
":resender",
|
|
]
|
|
|
|
|
|
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)
|
|
}
|