Browse Source

[components] Enable include gradle plugin build only if it exists.

pull/5006/head
Konstantin Tskhovrebov 5 months ago
parent
commit
4c6fe13653
  1. 1
      components/gradle.properties
  2. 7
      components/settings.gradle.kts

1
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

7
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 {

Loading…
Cancel
Save