Closed dhakehurst closed 3 months ago
Could you share your build.gradle.kts? In particular do you have the repositories configured?
I have those and it works on my machine:
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
Hi, I do not have the maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") repository.
but why should I need it when everything else seems to be on maven central ? and I'm not using a 'dev' version! I did not have this repo when I used the previous version - I'm upgrading from 1.6.0 (beta01)
relevant parts of build.gradle.kts
plugins {
kotlin("multiplatform") version ("2.0.0")
id("org.jetbrains.compose") version "1.6.10"
id("org.jetbrains.kotlin.plugin.compose") version "2.0.0"
...
repositories {
mavenCentral()
}
...
The whole project is available here [https://github.com/dhakehurst/net.akehurst.kotlin.compose.code-editor]
Please try to add google()
in the repositories block.
Thanks, That fixed this issue. Didn't need it for previous version.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Error