PlaguBot/settings.gradle

14 lines
529 B
Groovy
Raw Normal View History

2022-08-13 14:09:21 +00:00
String[] toInclude = [":bot", ":plugin"]
2020-11-12 05:52:09 +00:00
2020-11-08 13:23:01 +00:00
rootProject.name = 'plagubot'
2020-11-12 06:40:57 +00:00
toInclude.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)
2020-11-12 06:40:57 +00:00
}