From 469f4a1204a5a727032bcd21e15cf5cac35110e8 Mon Sep 17 00:00:00 2001 From: cfnz Date: Tue, 16 Feb 2021 05:12:35 +1300 Subject: [PATCH] Update Tutorial README.md as App unusable on Ubuntu with plugin version used in wizard tutorial (#376) --- tutorials/Getting_Started/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tutorials/Getting_Started/README.md b/tutorials/Getting_Started/README.md index 1e29a3e27b..b8a0ba5b14 100644 --- a/tutorials/Getting_Started/README.md +++ b/tutorials/Getting_Started/README.md @@ -30,6 +30,15 @@ packaging JDK 14 or later must be used. ![Create new project 3](screen5.png) +### Update the wizard plugin +The compose plugin version used in the wizard above may be out of date. Update the version of the plugin to the latest available by editing the build.gradle.kts file, finding and updating the version information as shown below. (In this example the latest version of the plugin was 0.3.0-build152 and a compatible version of kotlin was 1.4.30. For the latest versions, see the [compose-jb](https://github.com/JetBrains/compose-jb/tags) github site and the JetBrains [Kotlin](https://kotlinlang.org/) site.) +``` +plugins { + kotlin("jvm") version "1.4.30" + id("org.jetbrains.compose") version "0.3.0-build152" +} +``` + ### Create new Compose project without the wizard It is also possible to create Compose project manually.