TelegramBotApiLibraries/settings.gradle

24 lines
695 B
Groovy
Raw Permalink Normal View History

2021-02-21 19:48:48 +00:00
rootProject.name = 'tgbotapi.libraries'
2021-02-21 19:30:47 +00:00
String[] includes = [
2021-02-22 12:11:12 +00:00
":cache:admins:common",
":cache:admins:micro_utils",
2021-02-22 13:53:51 +00:00
":cache:admins:plagubot",
2022-03-22 12:52:23 +00:00
":cache:content:common",
":cache:content:micro_utils",
2023-01-14 16:37:56 +00:00
":resender",
2021-02-21 19:30:47 +00:00
]
includes.each { originalName ->
2022-03-22 12:52:23 +00:00
String projectDirectory = "${rootProject.projectDir.getAbsolutePath()}${originalName.replace(":", File.separator)}"
String projectName = "${rootProject.name}${originalName.replace(":", ".")}"
2021-02-21 19:30:47 +00:00
String projectIdentifier = ":${projectName}"
include projectIdentifier
ProjectDescriptor project = project(projectIdentifier)
project.name = projectName
project.projectDir = new File(projectDirectory)
}