10/4/2023 0 Comments Download jetbrains space desktop![]() ![]() ![]() You can also run Gradle tasks in the terminal: Click the button several times to see that the application reacts and updates the UI:.In the Gradle tool window, select sample/Tasks/compose desktop/run:. ![]() After the necessary dependencies from the Maven repositories are downloaded, your project will be ready. You can run and debug the application by clicking Run in the gutter near the main() function declaration: Import .Arrangement import .Column import .fillMaxSize import import import import import import .Alignment import .Modifier import .unit.dp import .window.Window import .window.application import .window.rememberWindowState fun main() = application ! ")īutton(modifier = Modifier.align( Alignment. Open the file for your project and update the version: To use the native distribution packaging, select JDK 15 or later.īefore you start, ensure that you’re using the latest version of the Compose Multiplatform IDE support plugin:Ĭheck the latest release version in the Compose Multiplatform GitHub repository or on the Kotlin website. ![]() When creating a project, select JDK 11 or later. Starting with 2020.3, IntelliJ IDEA comes with a new project wizard that can automatically create a Compose application. The plugin shows how a particular composable function looks in the IDE. The Compose Multiplatform IDE support pluginĬompose development can be simplified by adding support for the annotation on argument-less functions.IntelliJ IDEA Community Edition or IntelliJ IDEA Ultimate 2020.3 or later (other editors may also work, but we'll use IntelliJ IDEA in this tutorial).If you want to create an application targeting mobile platforms – iOS and Android – use the Compose Multiplatform mobile application template. You can use any of these platforms with our template.įollow our tutorial below to create a simple desktop application using the Compose Multiplatform UI framework. If you have any issues, please report them on GitHub.Ĭompose for Desktop can produce applications for macOS, Linux, and Windows. Compose Multiplatform desktop application ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |