KotlinMultiplatformProjectT.../extensions.gradle

26 lines
992 B
Groovy
Raw Permalink Normal View History

2020-12-02 15:50:52 +00:00
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.gradle"
mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject.gradle"
2021-03-07 15:22:27 +00:00
mppJsProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJsProject.gradle"
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject.gradle"
2020-12-02 15:50:52 +00:00
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle"
2020-12-02 15:50:52 +00:00
// publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
}
}