2020-09-15 12:57:41 +00:00
|
|
|
allprojects {
|
|
|
|
ext {
|
|
|
|
projectByName = { name ->
|
|
|
|
for (subproject in rootProject.subprojects) {
|
|
|
|
if (subproject.name == name) {
|
|
|
|
return subproject
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null
|
|
|
|
}
|
|
|
|
|
|
|
|
internalProject = { name ->
|
2020-11-10 17:55:11 +00:00
|
|
|
// if (releaseMode) {
|
|
|
|
// "$group:$name:$version"
|
|
|
|
// } else {
|
|
|
|
// projectByName("$name")
|
|
|
|
// }
|
|
|
|
projectByName("$name")
|
2020-09-15 12:57:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
releaseMode = (project.hasProperty('RELEASE_MODE') && project.property('RELEASE_MODE') == "true") || System.getenv('RELEASE_MODE') == "true"
|
2023-09-27 11:59:09 +00:00
|
|
|
// String compilerPluginVersionFromProperties = (String) project.properties["compose.kotlinCompilerPluginVersion"]
|
|
|
|
// String compilerPluginVersionFromLibrariesVersions = libs.versions.compose.kotlin.get()
|
|
|
|
// composePluginKotlinVersion = compilerPluginVersionFromProperties
|
|
|
|
// if (compilerPluginVersionFromProperties == null) {
|
|
|
|
// composePluginKotlinVersion = compilerPluginVersionFromLibrariesVersions
|
|
|
|
// }
|
2020-09-15 12:57:41 +00:00
|
|
|
|
2023-10-20 15:53:27 +00:00
|
|
|
mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppJvmJsAndroidProject.gradle"
|
2022-03-10 11:47:37 +00:00
|
|
|
mppProjectWithSerializationAndComposePresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerializationAndCompose.gradle"
|
2021-04-20 12:36:53 +00:00
|
|
|
mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject.gradle"
|
2023-04-18 13:19:38 +00:00
|
|
|
mppJvmJsLinuxMingwProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJvmJsLinuxMingwProject.gradle"
|
2023-10-20 15:53:27 +00:00
|
|
|
mppJvmJsLinuxMingwLinuxArm64ProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJvmJsLinuxMingwLinuxArm64Project.gradle"
|
|
|
|
mppJvmJsAndroidLinuxMingwLinuxArm64ProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJvmJsAndroidLinuxMingwLinuxArm64Project.gradle"
|
2024-07-16 08:16:08 +00:00
|
|
|
mppComposeJvmJsAndroidLinuxMingwLinuxArm64ProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppComposeJvmJsAndroidLinuxMingwLinuxArm64Project.gradle"
|
2021-04-20 12:36:53 +00:00
|
|
|
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject.gradle"
|
2020-09-27 14:25:42 +00:00
|
|
|
|
2021-04-20 12:36:53 +00:00
|
|
|
defaultAndroidSettingsPresetPath = "${rootProject.projectDir.absolutePath}/defaultAndroidSettings.gradle"
|
2020-11-10 09:43:15 +00:00
|
|
|
|
2020-09-27 14:25:42 +00:00
|
|
|
publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
|
2023-02-21 19:34:42 +00:00
|
|
|
publishJvmOnlyPath = "${rootProject.projectDir.absolutePath}/jvm.publish.gradle"
|
2020-09-15 12:57:41 +00:00
|
|
|
}
|
|
|
|
}
|