mirror of
https://github.com/InsanusMokrassar/KotlinMultiplatformProjectTemplate.git
synced 2024-11-04 15:33:54 +00:00
25 lines
870 B
Groovy
25 lines
870 B
Groovy
|
allprojects {
|
||
|
ext {
|
||
|
projectByName = { String name ->
|
||
|
for (subproject in rootProject.subprojects) {
|
||
|
if (subproject.name == name) {
|
||
|
return subproject
|
||
|
}
|
||
|
}
|
||
|
return null
|
||
|
}
|
||
|
|
||
|
internalProject = { String name ->
|
||
|
projectByName(name)
|
||
|
}
|
||
|
|
||
|
mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerialization"
|
||
|
mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject"
|
||
|
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject"
|
||
|
|
||
|
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings"
|
||
|
|
||
|
// publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
|
||
|
}
|
||
|
}
|