KotlinPublicationScriptsBui.../settings.gradle

27 lines
735 B
Groovy
Raw Permalink Normal View History

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",
2021-03-01 16:42:15 +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)
}