2020-11-25 12:40:45 +00:00
|
|
|
allprojects {
|
|
|
|
ext {
|
2021-11-24 07:52:27 +00:00
|
|
|
projectByName = { String name ->
|
|
|
|
for (subproject in rootProject.subprojects) {
|
|
|
|
if (subproject.name == name) {
|
|
|
|
return subproject
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null
|
|
|
|
}
|
2020-11-25 12:40:45 +00:00
|
|
|
|
2021-11-24 07:52:27 +00:00
|
|
|
internalProject = { String name ->
|
|
|
|
projectByName(name)
|
|
|
|
}
|
2020-11-25 12:40:45 +00:00
|
|
|
|
2022-05-06 19:50:53 +00:00
|
|
|
allTargetsConfiguration = { ->
|
|
|
|
kotlin {
|
|
|
|
targets.all {
|
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs += [
|
|
|
|
"-P",
|
|
|
|
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-24 07:52:27 +00:00
|
|
|
mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerialization.gradle"
|
|
|
|
mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject.gradle"
|
|
|
|
mppJsProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJsProject.gradle"
|
|
|
|
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject.gradle"
|
|
|
|
|
|
|
|
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle"
|
|
|
|
|
2022-05-06 19:50:53 +00:00
|
|
|
publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
|
2020-11-25 12:40:45 +00:00
|
|
|
}
|
|
|
|
}
|