https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
compose-web
  • m

    martmists

    01/13/2022, 1:39 PM
    auto-build seems to be erroring (and thus IJ features are not working) with the following error (on jvmMain):
    Error:Kotlin: [Internal Error] java.lang.IllegalStateException: The provided plugin androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar is not compatible with this version of compiler
    	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerExtensionsFromPlugins$cli(KotlinCoreEnvironment.kt:675)
    	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$ProjectEnvironment.registerExtensionsFromPlugins(KotlinCoreEnvironment.kt:169)
    	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:216)
    	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:111)
    	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:485)
    	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:227)
    	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:153)
    	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:52)
    	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:92)
    	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
    	at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
    	at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1542)
    	at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
    	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
    	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
    	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
    	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
    	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    	at java.base/java.lang.Thread.run(Thread.java:829)
    Caused by: java.lang.AbstractMethodError: Receiver class androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar does not define or inherit an implementation of the resolved method 'abstract void registerProjectComponents(com.intellij.mock.MockProject, org.jetbrains.kotlin.config.CompilerConfiguration)' of interface org.jetbrains.kotlin.compiler.plugin.ComponentRegistrar.
    	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerExtensionsFromPlugins$cli(KotlinCoreEnvironment.kt:667)
    	... 27 more
    My build.gradle.kts:
    import org.jetbrains.compose.compose
    
    plugins {
        kotlin("multiplatform") version "1.5.31"
        kotlin("plugin.serialization") version "1.5.31"
    
        id("org.jetbrains.compose") version "1.0.0"
        application
    
        id("com.github.ben-manes.versions") version "0.39.0"
    }
    
    group = "com.martmists.mods"
    version = "1.0"
    
    repositories {
        google()
        mavenCentral()
        maven("<https://maven.pkg.jetbrains.space/public/p/compose/dev>")
        maven("<https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven>")
    }
    
    kotlin {
        js(IR) {
            browser {
    
            }
            binaries.executable()
        }
        jvm {
            compilations.all {
                kotlinOptions.jvmTarget = "16"
            }
            withJava()
        }
        sourceSets {
            val jsMain by getting {
                dependencies {
                    implementation(npm("highlight.js", "10.7.2"))
                    implementation(compose.web.core)
                    implementation(compose.runtime)
                    implementation("io.ktor:ktor-client-core:1.6.3")
                }
            }
            val jvmMain by getting {
                dependencies {
                    implementation("io.ktor:ktor-server-tomcat:1.6.3")
                    implementation("io.ktor:ktor-html-builder:1.6.3")
                    implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2")
                    implementation("ch.qos.logback:logback-classic:1.2.6")
                    implementation("org.jetbrains:markdown:0.2.4")
                }
            }
            val commonMain by getting {
                dependencies {
                    implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0")
                    api(compose.runtime)  // Needed to make jvmMain/commonMain compile despite only using compose web for frontend
                }
            }
        }
    }
    
    application {
        mainClass.set("com.martmists.mods.backend.ServerKt")
    }
    
    tasks.named<Copy>("jvmProcessResources") {
        val jsBrowserDistribution = tasks.named("jsBrowserDistribution")
        from(jsBrowserDistribution)
    }
    
    tasks.named<JavaExec>("run") {
        dependsOn(tasks.named<Jar>("jvmJar"))
        classpath(tasks.named<Jar>("jvmJar"))
    }
    Using Java 16/17 and gradle 7.3
    :thread-please: 4
    b
    z
    • 3
    • 11
  • b

    Brian Guertin

    01/13/2022, 3:34 PM
    \
    👍 5
    b
    • 2
    • 2
  • с

    Стефан Јовановић

    01/14/2022, 6:17 PM
    Hi there people, I'm glad to be here. Few days ago I've started reading about Compose for Web, and to be honest I immediately got some ideas for my future projects where I can explore it furthermore! 🙂 Now I also have few questions. I want to create a project with Ktor as a back-end server and Compose Web for front-end. Now I'm having troubles setting up the basic project manually in Intelij IDEA. Can someone provide me some maybe useful resource where I can read more about it, or even explain it to me here. Is there any kind of template for creating that project which includes Ktor and Compose Web, like we have it on start.ktor.io (Even tho it would be even better to be able to generate that kind of project directly inside Intelij IDEA, and not externally like that) :D
    ➕ 1
    b
    m
    d
    • 4
    • 35
  • g

    Grouvie

    01/16/2022, 2:27 PM
    Hello there. 👋 I started a new multiplatform project a few days ago to work with compose web. Now I have two questions regarding CSS. First question: How would I transfer some CCS like this for my StyleSheet?
    .container.button-pressed .show-overlay {
        transform: translateX(0);
    }
    At the moment my Stylesheets look similar to this:
    object SpanStyleSheet : StyleSheet() {
        val span by style {
            fontSize(12.px)
            maxWidth(20.vw)
        }
    }
    Second question: How can I combine multiple StyleSheets together?
    m
    d
    • 3
    • 5
  • g

    Greg Steckman

    01/18/2022, 4:38 AM
    Any ideas what might be causing this?
    e: Could not find "org.jetbrains.compose.web:web-svg" in [C:\Users\Greg\AppData\Local\kotlin\daemon]
    e: java.lang.IllegalStateException: FATAL ERROR: Could not find "org.jetbrains.compose.web:web-svg" in [C:\Users\Greg\AppData\Local\kotlin\daemon]
    o
    • 2
    • 16
  • r

    rocketraman

    01/18/2022, 8:56 AM
    I have some HTML as a String that I want to display in a
    Div
    . Do we have something like React's
    __dangerouslySetInnerHtml
    function?
    o
    b
    • 3
    • 5
  • a

    Artur Gniewowski

    01/18/2022, 11:05 AM
    How to add SVG in compose and change its color by CSS color or fill param?
    o
    u
    • 3
    • 3
  • l

    Lubomir Pisk

    01/21/2022, 8:09 AM
    Hello there. 👋 I use Compose for Web, but when I use following dependency on another multiplatform module:
    implementation(project(":shared:gallery"))
    kotlin {
        js(IR) {
            browser()
            binaries.executable()
        }
        sourceSets {
            val jsMain by getting {
                dependencies {
                    implementation(compose.web.core)
                    implementation(compose.runtime)
                    implementation(project(":shared:gallery"))
                }
            }
        }
    }
    then I receive blank screen and error in Web Inspector (Safari). Without dependency is everything ok. I can share more details. Thank you.
    o
    e
    • 3
    • 3
  • s

    spierce7

    01/21/2022, 5:04 PM
    Has anyone built the new mine sweeper sample for compose web that appears to be using canvas? https://github.com/JetBrains/compose-jb/tree/master/examples/minesweeper
    👀 4
    g
    • 2
    • 4
  • m

    Mini

    01/21/2022, 6:12 PM
    Does anyone have experience with creating compose-web wrappers for React components?
    b
    h
    • 3
    • 23
  • e

    Eduardo Zuza

    01/21/2022, 7:41 PM
    Hi, I have a little experience with Flutter and more experience with Kotlin, I like kotlin better, I learned about compose on Android, from what I saw in the comments, compose for WEB is different, will it ever be the same? How long do you estimate 1, 2 or more years?
    ☝️ 1
    b
    s
    +4
    • 7
    • 19
  • d

    David Herman

    01/23/2022, 12:05 AM
    Seeing something weird when trying to define the "after" psuedo-element (code in thread) Edit: Solved, feel free to ignore
    • 1
    • 7
  • r

    Rohan Maity

    01/24/2022, 8:33 AM
    Hello, I wanted to know that how can I add
    modals/dialog forms
    compose web I added Bootstrap modal but it's loaded as different screen
    h
    • 2
    • 12
  • r

    Rohan Maity

    01/24/2022, 7:13 PM
    I am trying to add animation to a particular Div here by using StyleSheet Keyframes
    object ModalStyle: StyleSheet() {
        val btsModal by style {
            keyframes {
                from { this.property("top",0.px) }
                to { this.property("top", 30.px) }
            }
        }
    }
    I added this to my div's style like below, but its not animating
    Div(
            attrs = {
                classes("modal")
                id(id)
                tabIndex(-1)
                attr("aria-labelledby", label)
                style {
                    display(displayState.value)
    //                background("#0000004d")
                    position(Position.Relative)
                    animation(ModalStyle.btsModal) {
                        duration(10.s)
                    }
                }
            }
        )
    But no animation happens
    o
    h
    b
    • 4
    • 16
  • i

    Ilya Kalibrov [JB]

    01/25/2022, 10:28 AM
    ❗ Hello, everyone! My name is Ilya and I’m product manager at Kotlin/JS :kotlinnew:. I’m looking for Compose for Web users that are willing to have a 30-45 mins chat with me regarding their experience with Compose for Web (especially if you are using it in production). If you are willing to talk, please, write me in the DM or leave a reaction on this message and I will write you. Thank’s to all the responders in advance 😉
    ✋ 2
    :compose-multiplatform: 4
    :jetpack-compose: 2
    n
    o
    • 3
    • 5
  • s

    Steffen Funke

    01/26/2022, 1:49 PM
    Hello, I’d like to URL encode / decode Strings in a simple compose-web only project. What would be the most sane way to do so? Coming from Java,
    java.net.URI
    is not accessible, obviously 🤔
    o
    g
    • 3
    • 5
  • d

    Derek Ellis

    01/27/2022, 2:02 AM
    Does anyone else have issues using a
    dynamic
    as the type of a parameter in a composable function? (Stack trace in thread)
    @Composable
    fun myComposable(value: dynamic) {
    }
    n
    o
    b
    • 4
    • 12
  • h

    hfhbd

    01/30/2022, 4:12 PM
    FYI:
    routing-compose:0.1.7
    is out, with support for redirection if the routing tree changed. Simple use case: You got a link which requires a login first. https://github.com/hfhbd/routing-compose
    🔥 1
    🤘 3
    :kotlin-intensifies: 8
    r
    • 2
    • 42
  • d

    David Herman

    02/08/2022, 11:33 PM
    I'm wondering how
    StyleSheet
    s work under the hood. I'd like to save my page after it renders once and see the styles in the DOM, but instead, it seems like only empty
    <style>
    tags are there.
    a
    a
    • 3
    • 7
  • m

    Marcin Wisniowski

    02/09/2022, 3:29 PM
    Can I share Compose code from Android/Desktop with a website project to get the same UI on the web? I heard there are two versions of Compose Web, one based on HTML and one on canvas rendering. What's the current situation?
    h
    c
    u
    • 4
    • 7
  • f

    fair_enough

    02/09/2022, 4:39 PM
    Hello. just wondering, trying Jetpack compose for web. Everything ok, but production file size is around 2,5 MB 🙂 any advice with kotlin JS IR dce? or some lazyloading for kotlin js?
    b
    a
    • 3
    • 15
  • r

    rocketraman

    02/09/2022, 5:16 PM
    Should HMR work with Kotlin/JS and compose/web?
    o
    • 2
    • 7
  • e

    electrolobzik

    02/10/2022, 9:14 AM
    I have 3 pages:
    /
    ,
    /users
    and
    /profile
    . What is the best approach for navigation? Should my backend serve different html files with different Compose js scrips inside for each of this pages or can I use just one entry point (backend returns the same html file for all 3 urls) in the Compose app and show different content depending on url?
    b
    r
    a
    • 4
    • 18
  • h

    hfhbd

    02/10/2022, 5:19 PM
    Why is
    ElementBuilderImplementation
    private? How do you implement new html elements, without copying this class?
    o
    d
    +2
    • 5
    • 29
  • d

    David Herman

    02/11/2022, 4:21 PM
    My project now supports exporting your Compose for Web project in a format that allows it to be served by static website hosting providers. If this is something you might be excited about, you can read more here: https://bitspittle.dev/blog/2022/staticdeploy
    🔥 10
    🙌 1
    👀 3
    🙌🏻 1
    h
    r
    +3
    • 6
    • 57
  • r

    Rahul Rawat

    02/12/2022, 2:20 PM
    Can anyone tell me why the following isn’t working
    Img(
                    src = "../resources/ic_splash.svg",
                    attrs = {
                        style {
                            width(300.px)
                            height(300.px)
                        }
                    }
                )
    b
    • 2
    • 6
  • s

    Slackbot

    02/13/2022, 9:31 AM
    This message was deleted.
    b
    • 2
    • 1
  • r

    Rahul Rawat

    02/13/2022, 2:26 PM
    I’ve been trying to add sqldelight to my jetpack compose web’s project and it’s giving me the following error
    Module not found: Error: Can't resolve 'fs' in '/Users/rahulrawat/Desktop/Projects/web/Address/build/js/node_modules/sql.js/dist'
    Has anyone faced this and been able to resolve?
    b
    h
    • 3
    • 23
  • b

    Big Chungus

    02/15/2022, 8:20 AM
    What's the reasoning behind removing DomSideEffect in 1.1.0? I find that ref {} is better suited for initialisation and destruction of the dom effects, while DomSideEffect was great for propagating compose state changes to external state. It's now doable with RefEffect, but onDispose lambda is pretty much always empty for me (which feels dirty).
    o
    a
    +2
    • 5
    • 33
  • d

    David Herman

    02/16/2022, 7:49 PM
    Are there any stable Compose for Web releases compatible with Kotlin 1.6? Here's what I'm getting with v1.0.1 paired with Kotlin 1.6.10
    e: This version (1.1.0-alpha06) of the Compose Compiler requires Kotlin version 1.5.31 but you appear to be using Kotlin version 1.6.10 which is no
    t known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
    o
    • 2
    • 19
Powered by Linen
Title
d

David Herman

02/16/2022, 7:49 PM
Are there any stable Compose for Web releases compatible with Kotlin 1.6? Here's what I'm getting with v1.0.1 paired with Kotlin 1.6.10
e: This version (1.1.0-alpha06) of the Compose Compiler requires Kotlin version 1.5.31 but you appear to be using Kotlin version 1.6.10 which is no
t known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
o

Oleksandr Karpovich [JB]

02/16/2022, 8:02 PM
Do you need kotlin 1.6.10 or 1.6? 1.0.1 should work with 1.6.10. The error reports a corresponding compiler version in androidx. Could it be that you have versions defined in several places? Like in buildSrc and somewhere else, so they can conflict?
d

David Herman

02/16/2022, 8:03 PM
I don't need 1.6, although I think it may make the need for an experimental annotation go away
At the very least, I want to make sure I can upgrade 🙂
I'll double check my
buildSrc
o

Oleksandr Karpovich [JB]

02/16/2022, 8:04 PM
Is it in kobweb or other project?
d

David Herman

02/16/2022, 8:05 PM
Nothing suspicious in my buildSrc
All my versions are declared in my libs.versions.toml file
https://github.com/varabyte/kobweb/blob/main/gradle/libs.versions.toml
👀 1
Locally: -compose = "1.0.0" +compose = "1.0.1" -kotlin = "1.5.31" +kotlin = "1.6.10" -kotlinx-coroutines = "1.5.2" +kotlinx-coroutines = "1.6.0" -ktor = "1.6.3" +ktor = "1.6.4"
I just noticed I didn't change kotlinx-html let me see if that helps
Actually kotlinx-html is ahead so that shouldn't be the culprit
If anyone wanted to see this for themselves, I left repro instructions here: https://github.com/varabyte/kobweb/issues/80#issuecomment-1005305564 I'm expecting user error on my end somewhere, but thought I'd check the community first
@Oleksandr Karpovich [JB] oh just saw your question which I missed. Yeah it's in kobweb.
o

Oleksandr Karpovich [JB]

02/16/2022, 8:15 PM
kotlin("multiplatform") version "1.5.31"
    id("org.jetbrains.compose") version "1.0.0-alpha4-build385"
these versions are in hello world example. I'll try to run now
d

David Herman

02/16/2022, 8:18 PM
Yeah I just saw that
Let me try updating those 🙂
Yeah I think that was it
👍 1
I'll double check but sorry to snipe some of your time!
o

Oleksandr Karpovich [JB]

02/16/2022, 9:41 PM
Please feel free to ping me again if it not working anyway
:thank-you: 1
View count: 12