v0.17.0
This release is identical to v0.16.3 but has migrated its dependencies to target Compose 1.6.0.
Important
Planning to upgrade? Review instructions in the README.
androidx.collections
error
If after upgrading, you start getting this build error:
> Could not find androidx.collection:collection:1.4.0.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/androidx/collection/collection/1.4.0/collection-1.4.0.pom
- https://maven.pkg.jetbrains.space/public/p/compose/dev/androidx/collection/collection/1.4.0/collection-1.4.0.pom
Required by:
project :site > org.jetbrains.compose.runtime:runtime:1.6.0 > org.jetbrains.compose.runtime:runtime-desktop:1.6.0 > org.jetbrains.compose.collection-internal:collection:1.6.0
make sure you have the google
repository added to your list of project repositories. This requirement changed in 1.6.0!
Before
// build.gradle.kts
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://us-central1-maven.pkg.dev/varabyte-repos/public")
}
After
// build.gradle.kts
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
// ↓↓↓↓↓
google() // Add me!!!
// ↑↑↑↑↑
maven("https://us-central1-maven.pkg.dev/varabyte-repos/public")
}
Full Changelog: v0.16.3...v0.17.0