Igor Demin 98b16c53ef Fix idea plugin compatability (#2318)
IDEA doesn't provide backward compatibility policy, and breaking changes can happen in any version, without prior deprecation:

https://plugins.jetbrains.com/docs/intellij/api-changes-list.html

~~Because of that, we can't remove `plugin.until.build`, and have to build Compose plugin for each new version of IDEA separately~~ (see Update)

~~Update 1:
I removed plugin.until.build anyway. In most cases there won't be a broken plugin. And if it will be broken, we will know it during IDEA EAP. Considering this, better when users don't wait the new version, and use already available one.~~

Update 2:
If we omit plugin.until.build, then it has default value +8. Returned, but made the default value big enough.

What we should do after that commit, is make sure, that we don't forget to check this compatibility. And ship a new stable version for every new stable IDEA.

The ideal way is to run `runPluginVerifier` on CI for the latest version, which will fail the build, if our plugin isn't compatible.

But for some reason, there is no EAP for IDEA 2022.3 here:
https://jb.gg/intellij-platform-builds-list
2022-10-11 06:06:11 +03:00
2021-04-01 23:46:02 +03:00
2021-07-27 15:04:08 +03:00
2022-02-25 20:48:49 +03:00
2022-07-23 15:14:07 +04:00
2022-10-06 23:18:24 +02:00
2022-04-29 16:33:55 +04:00
2022-07-05 13:25:24 +02:00
2021-07-01 09:01:27 +03:00
2022-03-14 10:37:15 +04:00
2021-04-01 23:46:02 +03:00
2022-10-10 21:04:23 +02:00

official project Latest release Latest build

Compose Multiplatform, by JetBrains

Compose Kotlin UI framework port for desktop platforms (macOS, Linux, Windows) and Web, components outside of the core Compose repository.

Preview functionality (check your application UI without building/running it) for desktop platforms is available via IDEA plugin.

Tutorials

Compose for Desktop

Also, see Foundation and Design docs from Google. They were originally written for Android, but most of information applies to Compose for Desktop as well.

Compose for Web

Jetpack Compose for Android

Compose Multiplatform uses Jetpack Compose developed by Google when you target Android platform. See more info about it here.

The docs published by Google are great and decribe how to develop on Compose for Android.

Note that when you use Compose Multiplatform, you setup your project differently. You can create a multiplatform project with Android support via IDEA Project Wizard, or by copying multiplatform template. In androidMain source set you can use almost all information from the docs, and in commonMain source set you can use information from Foundation and Design sections.

Examples

  • codeviewer - File Browser and Code Viewer application for Android and Desktop
  • imageviewer - Image Viewer application for Android and Desktop
  • issues - GitHub issue tracker with an adaptive UI and ktor-client
  • Falling Balls - Simple game
  • notepad - Notepad, using the new experimental Composable Window API
  • todoapp - TODO items tracker with persistence and multiple screens, written with external navigation library
  • todoapp-lite - A simplified version of todoapp, fully based on Compose
  • widgets gallery - Gallery of standard widgets
  • IDEA plugin - Plugin for IDEA using Compose for Desktop
  • compose-bird - A flappy bird clone using Compose for Web
  • web-landing - A landing page built using Compose for Web (HTML composable api)
  • compose-web-with-react - Using compose-in-react and react-in-compose
  • compose-web-in-js - Using Html based composables in js

Other

Versions

Description
No description provided
Readme 157 MiB
Languages
Kotlin 97.5%
Shell 1.7%
Dockerfile 0.3%
JavaScript 0.2%
PowerShell 0.1%