From 45aa109134a0e781c2f3c84df63576f12afc8cc8 Mon Sep 17 00:00:00 2001 From: "dima.avdeev" <99798741+dima-avdeev-jb@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:09:46 +0300 Subject: [PATCH] README.md kotlin.js.webpack.major.version=4 (#2143) --- compose/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/README.md b/compose/README.md index 7f129cc0469..5a0dd19d0d7 100644 --- a/compose/README.md +++ b/compose/README.md @@ -35,6 +35,7 @@ androidx.compose.multiplatformEnabled=true # note that https://android.googlesource.com/platform/frameworks/support build doesn't work with jetbrains.compose.jsCompilerTestsEnabled) jetbrains.compose.jsCompilerTestsEnabled=true androidx.validateProjectStructure=false +kotlin.js.webpack.major.version=4 ``` 4. Open `compose` folder in Android Studio (not `compose/frameworks/support`) 5. Download a custom Gradle 7.2 and specify it in `Settings -> Build, Execution, Deployment -> Build Tools -> Gradle` (because Android Studio will pick the wrong Gradle in the subproject instead of the Gradle in the root project)