KotlinMultiplatformProjectT.../settings.gradle

19 lines
575 B
Groovy
Raw Normal View History

2020-12-02 15:50:52 +00:00
rootProject.name = 'project_name'
String[] includes = [
2020-12-02 16:13:21 +00:00
":lib"
2020-12-02 15:50:52 +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)
}
2022-01-29 15:47:34 +00:00
enableFeaturePreview("VERSION_CATALOGS")