Update Compose Multiplatform and use the latest Compose Compiler version

This commit is contained in:
Syer10
2022-08-23 13:50:44 -04:00
parent 81553b5f53
commit bbafcc909f
2 changed files with 8 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ import Config.migrationCode
import Config.serverCode import Config.serverCode
import Config.tachideskVersion import Config.tachideskVersion
import com.codingfeline.buildkonfig.compiler.FieldSpec.Type import com.codingfeline.buildkonfig.compiler.FieldSpec.Type
import org.jetbrains.compose.ComposePlugin
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
@Suppress("DSL_SCOPE_VIOLATION") @Suppress("DSL_SCOPE_VIOLATION")
@@ -138,6 +139,9 @@ subprojects {
toolVersion = "0.8.7" toolVersion = "0.8.7"
} }
} }
plugins.withType<ComposePlugin> {
ext["compose.compiler.version"] = libs.versions.composeCompiler.get()
}
} }
fun isNonStable(version: String): Boolean { fun isNonStable(version: String): Boolean {

View File

@@ -1,13 +1,14 @@
[versions] [versions]
# Kotlin # Kotlin
kotlin = "1.7.0" kotlin = "1.7.10"
coroutines = "1.6.4" coroutines = "1.6.4"
# Serialization # Serialization
json = "1.4.0" json = "1.4.0"
# Compose # Compose
composeGradle = "1.2.0-alpha01-dev753" composeGradle = "1.2.0-alpha01-dev764"
composeCompiler = "1.3.0"
composeAndroid = "1.2.1" composeAndroid = "1.2.1"
voyager = "1.0.0-beta16" voyager = "1.0.0-beta16"
accompanist = "0.25.1" accompanist = "0.25.1"
@@ -28,7 +29,7 @@ lifecycle = "2.6.0-alpha01"
darklaf = "3.0.1" darklaf = "3.0.1"
# Ksp # Ksp
ksp = "1.7.0-1.0.6" ksp = "1.7.10-1.0.6"
# Dependency Injection # Dependency Injection
kotlinInject = "0.5.1" kotlinInject = "0.5.1"