Hello guys, how can we get compose `1.5.0-rc04` ? ...
# multiplatform
b
Hello guys, how can we get compose
1.5.0-rc04
? i am getting the following
Could not find org.jetbrains.compose.runtime:runtime:1.5.0-rc04
i am able to get 1.4.3
p
Seems that there was an error in the script or bot that created a couple of releases without actual changes and actual maven publication. The last thing seems to be 1.5.0-rc02, notice in the release history that 1.5.0-rc04 points to the same commit as rc02.
b
i am unable to find any 1.5.x, but i am finding 1.4.x
p
Humm, I had no issue with 1.5.0-rc02 Do you have added the maven repo for dev releases?
You need this added to your repos maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
b
i have this in
settings.gradle.kts
Copy code
pluginManagement {
    repositories {
        google()
        gradlePluginPortal()
        mavenCentral()
        maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
    }
}
but still getting the error
p
Try adding it here too:
Copy code
dependencyResolutionManagement { 
     repositories { 
         google() 
         
         maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev|https://maven.pkg.jetbrains.space/public/p/compose/dev>") 
         
     }
b
added it, but still getting
Could not find org.jetbrains.compose.runtime:runtime:1.5.0-rc04
p
Try -rc02
b
same thing
p
Humm, not sure what could be it. VPN block something
b
here is the
setting.gradle.kts
Copy code
pluginManagement {
    repositories {
        google()
        gradlePluginPortal()
        mavenCentral()
        maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
    }

    plugins {
        val kotlinVersion = extra["kotlin.version"] as String
        val agpVersion = extra["agp.version"] as String
        val composeVersion = extra["compose.version"] as String

        kotlin("jvm").version(kotlinVersion)
        kotlin("multiplatform").version(kotlinVersion)
        kotlin("android").version(kotlinVersion)

        id("com.android.application").version(agpVersion)
        id("com.android.library").version(agpVersion)

        id("org.jetbrains.compose").version(composeVersion)
    }
}

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
    }
}
Copy code
kotlin.version=1.9.0
agp.version=8.2.0-alpha13
compose.version=1.5.0-rc04
p
Looks good, restart the IDE 🤷🏻
What gradle version, try 8.3
And agp = 8.1.1
b
i am able to load it after restart, thanks
👍 1