Quick Q: I'm trying to use a dev-version of the co...
# compose-desktop
s
Quick Q: I'm trying to use a dev-version of the compose compiler to be able to use kotlin 2.0 beta 4. Since the jetbrains compiler doesn't support it yet, I'm using the Google one. According to this Google page the version
1.5.11-dev-k2.0.0-Beta4-21f5e479a96
would work. Trying to use this, I'm greeting with this message. Do I need to add a certain repository to use these dev versions?
Copy code
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find androidx.compose.compiler:compiler:1.5.11-dev-k2.0.0-Beta4-21f5e479a96.
Searched in the following locations:
  - <https://dl.google.com/dl/android/maven2/androidx/compose/compiler/compiler/1.5.11-dev-k2.0.0-Beta4-21f5e479a96/compiler-1.5.11-dev-k2.0.0-Beta4-21f5e479a96.pom>
  - <https://repo.maven.apache.org/maven2/androidx/compose/compiler/compiler/1.5.11-dev-k2.0.0-Beta4-21f5e479a96/compiler-1.5.11-dev-k2.0.0-Beta4-21f5e479a96.pom>
  - <https://maven.pkg.jetbrains.space/public/p/compose/dev/androidx/compose/compiler/compiler/1.5.11-dev-k2.0.0-Beta4-21f5e479a96/compiler-1.5.11-dev-k2.0.0-Beta4-21f5e479a96.pom>
e
yes it needs a custom repository, see the top https://androidx.dev/ page
actually not that, oops (you're looking for plugin not other snapshots)
see the bottom of https://androidx.dev/storage/compose-compiler/repository under project configuration
s
Thank you. I saw the snapshot repos but they didn't list the compiler. I didn't see the url in the sample project!