TelegramBotApiLibraries/extensions.gradle

25 lines
895 B
Groovy
Raw Normal View History

2021-02-21 19:30:47 +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"
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle"
2021-02-22 15:01:08 +00:00
publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
2021-02-21 19:30:47 +00:00
}
}