Alexey Tsvetkov
4 years ago
17 changed files with 140 additions and 36 deletions
@ -1,7 +1,17 @@ |
|||||||
MPP Code Viewer example for desktop/android written in Multiplatform Compose library. |
MPP Code Viewer example for desktop/android written in Multiplatform Compose library. |
||||||
|
|
||||||
To run desktop application execute in a terminal: |
### Running desktop application |
||||||
`./gradlew desktop:run` |
``` |
||||||
|
./gradlew :desktop:run |
||||||
|
``` |
||||||
|
|
||||||
To install android application on device/emulator: |
### Building native desktop distribution |
||||||
'./gradlew installDebug' |
``` |
||||||
|
./gradlew :desktop:package |
||||||
|
# outputs are written to desktop/build/compose/binaries |
||||||
|
``` |
||||||
|
|
||||||
|
### Installing Android application on device/emulator |
||||||
|
``` |
||||||
|
./gradlew installDebug |
||||||
|
``` |
@ -1,4 +1,16 @@ |
|||||||
An example of image gallery for remote server image viewing, based on Jetpack Compose UI library (desktop and android). |
An example of image gallery for remote server image viewing, based on Jetpack Compose UI library (desktop and android). |
||||||
|
|
||||||
To run desktop application execute in terminal: ./gradlew desktop:run |
### Running desktop application |
||||||
To run android application you will need to open project in Intellij IDEA or Android Studio and run "android" configuration |
``` |
||||||
|
./gradlew :desktop:run |
||||||
|
``` |
||||||
|
|
||||||
|
### Building native desktop distribution |
||||||
|
``` |
||||||
|
./gradlew :desktop:package |
||||||
|
# outputs are written to desktop/build/compose/binaries |
||||||
|
``` |
||||||
|
|
||||||
|
### Running Android application |
||||||
|
|
||||||
|
Open project in Intellij IDEA or Android Studio and run "android" configuration. |
||||||
|
@ -1,4 +1,13 @@ |
|||||||
Github Issues viewer example written in Jetpack Compose UI library. |
Github Issues viewer example written in Jetpack Compose UI library. |
||||||
|
|
||||||
To run desktop application execute in terminal: |
|
||||||
`./gradlew run` |
### Running desktop application |
||||||
|
``` |
||||||
|
./gradlew :desktop:run |
||||||
|
``` |
||||||
|
|
||||||
|
### Building native desktop distribution |
||||||
|
``` |
||||||
|
./gradlew :desktop:package |
||||||
|
# outputs are written to desktop/build/compose/binaries |
||||||
|
``` |
||||||
|
@ -1,5 +1,4 @@ |
|||||||
Compose Desktop Application |
Compose Desktop Application |
||||||
|
|
||||||
- `./gradlew run` - run application |
- `./gradlew run` - run application |
||||||
- `./gradlew install` - build application into `build/install` |
- `./gradlew package` - package native distribution into `build/compose/binaries` |
||||||
- `./gradlew distZip` - build and create archive ready for distribution in `build/distributions/desktop.zip` |
|
||||||
|
@ -1,5 +1,7 @@ |
|||||||
pluginManagement { |
pluginManagement { |
||||||
repositories { |
repositories { |
||||||
|
// TODO: remove after new build is published |
||||||
|
mavenLocal() |
||||||
gradlePluginPortal() |
gradlePluginPortal() |
||||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue