2019-11-20 15:16:34 +00:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
maven { url "https://maven.pkg.jetbrains.space/public/p/compose/dev" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-01 14:17:06 +00:00
|
|
|
rootProject.name = 'kmppscriptbuilder'
|
|
|
|
|
|
|
|
String[] includes = [
|
|
|
|
":core",
|
2022-11-15 18:56:24 +00:00
|
|
|
// ":desktop",
|
|
|
|
// ":web"
|
2021-03-01 14:17:06 +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)
|
|
|
|
}
|
|
|
|
|