mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-11-18 14:13:46 +00:00
19 lines
569 B
Groovy
19 lines
569 B
Groovy
|
rootProject.name = 'project_name'
|
||
|
|
||
|
String[] includes = [
|
||
|
":lib"
|
||
|
]
|
||
|
|
||
|
|
||
|
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)
|
||
|
}
|
||
|
|
||
|
enableFeaturePreview("VERSION_CATALOGS")
|