https://kotlinlang.org logo
Title
n

Norbi

05/19/2022, 8:06 AM
Was anyone able to try compose-jb v1.2.0-alpha01-dev686? I tried to upgrade to it from 1.1.1 but I always get various build errors like
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.jetbrains.compose.compiler:compiler:1.2.0-alpha01-dev686.
or some other error 😞 My goal is to use Kotlin 1.6.21... Thanks.
j

John O'Reilly

05/19/2022, 8:12 AM
Using in https://github.com/joreilly/PeopleInSpace fwiw. Have you following?
maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
👍🏻 1
👀 1
:thank-you: 1
n

Norbi

05/19/2022, 12:34 PM
The problem seems to be that I have to use a different compose compiler version. How can I specify it? I use only Compose/Desktop, no Android:
compose {
    desktop {
        application {
            ...
But I don't see any property to set the compose compiler version...
m

mcpiroman

05/19/2022, 3:28 PM
I just do
plugins {
    kotlin("jvm")
    id("org.jetbrains.compose") version "1.2.0-alpha01-dev686"
}
and it works fine
l

Landry Norris

05/19/2022, 3:39 PM
683 and most of the 670s also support 1.6.21, since I’ve been using those with 1.6.21 for a bit.
n

Norbi

05/19/2022, 5:04 PM
Something is not right on my side, I get:
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.jetbrains.compose.compiler:compiler:1.2.0-alpha01-dev686.
m

mcpiroman

05/19/2022, 7:03 PM
Maybe
buildscript {
    repositories {
        mavenCentral()
        maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
    }
}
?
n

Norbi

05/19/2022, 8:09 PM
Thanks for the tip but I got this repo configured (from the times when the 1.0.0 was alpha/beta 😉 🙂 ).
a

andylamax

06/02/2022, 11:21 AM
Getting the same with "1.2.0-alpha01-dev686"
Never mind, I forgot to put it in top level build.gradle