Browse Source

Update preview example

pull/566/head
Alexey Tsvetkov 4 years ago
parent
commit
82b87c7481
  1. 9
      idea-plugin/examples/desktop-project/README.md
  2. 3
      idea-plugin/examples/desktop-project/build.gradle.kts
  3. 1
      idea-plugin/examples/desktop-project/settings.gradle.kts

9
idea-plugin/examples/desktop-project/README.md

@ -1,10 +1,5 @@
1. From `<ROOT>/gradle-plugins`:
```
COMPOSE_VERSION=0.4.0-preview-annotation-build53
./gradlew publishToMavenLocal -Pcompose.version=$COMPOSE_VERSION -Pdeploy.version=$COMPOSE_VERSION
```
2. Run from `<ROOT>/idea-plugin`:
1. Run from `idea-plugin`:
```
./gradlew runIde
```
3. Open this project in the test IDE.
2. Open `idea-plugin/examples/desktop-project` with the test IDE.

3
idea-plugin/examples/desktop-project/build.gradle.kts

@ -3,11 +3,10 @@ import org.jetbrains.compose.compose
plugins {
// __KOTLIN_COMPOSE_VERSION__
kotlin("jvm") version "1.4.32"
id("org.jetbrains.compose") version "0.4.0-preview-annotation-build53"
id("org.jetbrains.compose") version "0.4.0-idea-preview-build57"
}
repositories {
mavenLocal()
jcenter()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}

1
idea-plugin/examples/desktop-project/settings.gradle.kts

@ -1,6 +1,5 @@
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}

Loading…
Cancel
Save