TelegramBotApiLibraries/extensions.gradle

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