File tree Expand file tree Collapse file tree
src/main/kotlin/dev/icerock/gradle/generator/apple Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ buildscript {
1313 }
1414 dependencies {
1515 classpath(" dev.icerock.moko:resources-generator" )
16- classpath(" org.jetbrains.compose:compose-gradle-plugin:1.0.1 " )
17- classpath(" com.gradleup:auto-manifest-plugin:1.1.1 " )
16+ classpath(libs.composeJetBrainsPlugin )
17+ classpath(libs.autoManifestPlugin )
1818 classpath(" :resources-build-logic" )
1919 }
2020}
Original file line number Diff line number Diff line change 11[versions ]
2- kotlinVersion = " 1.6.21 "
2+ kotlinVersion = " 1.6.10 "
33androidGradleVersion = " 7.1.0"
44
55# kotlinx
@@ -85,7 +85,13 @@ kotlinTestAnnotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations
8585
8686# gradle
8787kotlinGradlePlugin = { module = " org.jetbrains.kotlin:kotlin-gradle-plugin" , version.ref = " kotlinVersion" }
88+ # This version is used to fix compatibility issues between
89+ # Kotlin Gradle Plugin 1.6.10 -> 1.6.20
90+ # we can't update all project to 1.6.20 now because Jetpack Compose not updated yet
91+ kotlinGradlePluginNext = { module = " org.jetbrains.kotlin:kotlin-gradle-plugin" , version = " 1.6.21" }
8892androidGradlePlugin = { module = " com.android.tools.build:gradle" , version.ref = " androidGradleVersion" }
8993kotlinCompilerEmbeddable = { module = " org.jetbrains.kotlin:kotlin-compiler-embeddable" , version.ref = " kotlinVersion" }
9094detektGradlePlugin = { module = " io.gitlab.arturbosch.detekt:detekt-gradle-plugin" , version.ref = " detektVersion" }
9195mokoMultiplatformPlugin = { module = " dev.icerock:mobile-multiplatform" , version.ref = " mokoMultiplatformPluginVersion" }
96+ composeJetBrainsPlugin = { module = " org.jetbrains.compose:compose-gradle-plugin" , version.ref = " composeJetbrainsVersion" }
97+ autoManifestPlugin = { module = " com.gradleup:auto-manifest-plugin" , version = " 1.1.1" }
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.4.2 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ version = libs.versions.mokoResourcesVersion.get()
1515
1616dependencies {
1717 implementation(gradleKotlinDsl())
18- compileOnly(libs.kotlinGradlePlugin )
18+ compileOnly(libs.kotlinGradlePluginNext )
1919 compileOnly(libs.androidGradlePlugin)
2020 implementation(libs.kotlinPoet)
2121 implementation(libs.kotlinxSerialization)
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.AbstractKotlinNativeCompilation
2828import org.jetbrains.kotlin.gradle.plugin.mpp.Framework
2929import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
3030import org.jetbrains.kotlin.gradle.plugin.mpp.TestExecutable
31- import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFrameworkTask
3231import org.jetbrains.kotlin.gradle.tasks.FatFrameworkTask
3332import org.jetbrains.kotlin.gradle.tasks.FrameworkDescriptor
3433import org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile
You can’t perform that action at this time.
0 commit comments