Is anyone else running in to following after updat...
# compose-web
j
Is anyone else running in to following after updating to agp plugin vs 8.0.x?
Copy code
Querying the mapped value of map(task ':web:browserDevelopmentRun' property 'inputFilesDirectory') before task ':web:developmentExecutableCompileSync' has completed is not supported
o
distributionUrl=https\:<//services.gradle.org/distributions/gradle-8.0.2-bin.zip>
I tried several projects with it and it was fine (compose 1.4.0 and kotlin 1.8.20). What kotlin and compose versions did you use?
j
Sorry, I should have mentioned I'm using Kotlin 1.9.0-Beta
o
Just to be sure: Compose 1.4.0, js target for Canvas?
j
actually using
1.5.0-dev1059
(but also get error with 1.4.0)....this is with js based one....but also getting when using wasm
btw this isn't gradle version.....it's agp plugin one
o
thanks
So far, I can only confirm that I see this issue too. I'll try to figure out if compose has something to do with it.
Have you tried to run the task from the command line? I tried running from the console and it works:
./gradlew :web:wasmBrowserRun
It doesn't work (error same as yours) when running from Android Studio run configuration. Did you use Android Studio too? it works from IDEA for web. But the newest agp is not supported in IDEA, so I guess that's why you tried Android Studio (if my guess is correct)?
j
Thanks, will try that shortly (yes, am using AS)
hmm, yeah that seemed to work!
o
Reproduced it without Compose too. Reported here for now: https://youtrack.jetbrains.com/issue/KT-59105
j
fwiw I see issue with latest AS Canary