mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-05 07:53:57 +00:00
17 lines
533 B
Groovy
17 lines
533 B
Groovy
|
rootProject.name = 'project_name'
|
||
|
|
||
|
String[] includes = [
|
||
|
":lib"
|
||
|
]
|
||
|
|
||
|
|
||
|
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)
|
||
|
}
|