diff --git a/components/gradle.properties b/components/gradle.properties index a16ea9956e..478504a76f 100644 --- a/components/gradle.properties +++ b/components/gradle.properties @@ -9,6 +9,7 @@ android.useAndroidX=true #Versions kotlin.version=1.9.23 agp.version=8.2.2 +compose.version=1.6.10 deploy.version=0.1.0-SNAPSHOT #Compose diff --git a/components/settings.gradle.kts b/components/settings.gradle.kts index d7283e752d..12272f6b5b 100644 --- a/components/settings.gradle.kts +++ b/components/settings.gradle.kts @@ -12,12 +12,15 @@ pluginManagement { plugins { kotlin("jvm").version(extra["kotlin.version"] as String) kotlin("multiplatform").version(extra["kotlin.version"] as String) - id("org.jetbrains.compose") //version is not required because the plugin is included to the build + id("org.jetbrains.compose").version(extra["compose.version"] as String) id("com.android.library").version(extra["agp.version"] as String) id("org.jetbrains.kotlinx.binary-compatibility-validator").version("0.15.0-Beta.2") } - includeBuild("../gradle-plugins") + val gradlePluginDir = rootDir.resolve("../gradle-plugins") + if (gradlePluginDir.exists()) { + includeBuild(gradlePluginDir) + } } dependencyResolutionManagement {