KotlinMultiplatformProjectT.../extensions.gradle

25 lines
898 B
Groovy
Raw 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"
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"
}
}