mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2024-11-14 04:13:56 +00:00
27 lines
739 B
Groovy
27 lines
739 B
Groovy
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven { url "https://maven.pkg.jetbrains.space/public/p/compose/dev" }
|
|
}
|
|
}
|
|
|
|
rootProject.name = 'kmppscriptbuilder'
|
|
|
|
String[] includes = [
|
|
":core",
|
|
// ":desktop",
|
|
// ":web"
|
|
]
|
|
|
|
|
|
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)
|
|
}
|
|
|