mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2024-11-24 19:18:52 +00:00
26 lines
992 B
Groovy
26 lines
992 B
Groovy
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"
|
|
mppJsProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJsProject.gradle"
|
|
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject.gradle"
|
|
|
|
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle"
|
|
|
|
// publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
|
|
}
|
|
}
|