2021-02-21 19:48:48 +00:00
|
|
|
rootProject.name = 'tgbotapi.libraries'
|
2021-02-21 19:30:47 +00:00
|
|
|
|
|
|
|
String[] includes = [
|
2021-02-21 19:48:48 +00:00
|
|
|
":cache:admins",
|
|
|
|
":cache:media"
|
2021-02-21 19:30:47 +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)
|
|
|
|
}
|