Commit Graph

447 Commits

Author SHA1 Message Date
Nikolay Igotti
76e3f45f8b Move to Kotlin 1.4.32 and 0.4.0-build180 2021-04-12 12:26:03 +03:00
Shagen Ogandzhanian
1f15bbb373 Introduce global gradle.properties so the we don't need to retype androidx.compose.multiplatformEnabled=true 2021-04-09 15:56:26 +02:00
Nikolay Igotti
f9ed97e554 Update CHANGELOG.md 2021-04-08 11:24:33 +03:00
Nikolay Igotti
4ac5235dad Update CHANGELOG.md 2021-04-08 10:53:27 +03:00
Nikolay Igotti
b962836203 Typo 2021-04-08 10:38:36 +03:00
Shagen Ogandzhanian
1aa492c02c Introduce an alias for launching chrome from root in compose-web/Docker 2021-04-07 18:47:03 +02:00
Shagen Ogandzhanian
4039d82aa6 Don't remove darwin SDK in Docker file for compose-web
Because for some reason linux config refers to it

Here's this config I need later discuss with fellow googlers

<project
path="prebuilts/fullsdk-darwin/platforms/android-30"
name="platform/prebuilts/fullsdk/platforms/android-30"
revision="master"
clone-depth="1">
    <linkfile src="." dest="prebuilts/fullsdk-linux/platforms/android-30" />
</project>
2021-04-07 13:19:08 +02:00
Alexey Tsvetkov
2f0cd93e71 Specify Preview as entry point
So it's not marked as dead code by Intellij
2021-04-07 10:53:50 +03:00
Shagen Ogandzhanian
05b9e962e5 Remove darwin-related prebuilts from the compose-web image
(cause it's Ubuntu)
2021-04-07 03:31:14 +02:00
Shagen Ogandzhanian
a70c72052c Don't purge any app installed so far to the Docker web-compose image 2021-04-06 21:45:40 +02:00
Shagen Ogandzhanian
603287b1bf Don't try to purge app-get cache data and clone with depth=1 in Docker for compose web 2021-04-06 21:11:33 +02:00
Alexey Tsvetkov
82b87c7481 Update preview example 2021-04-06 10:52:37 +03:00
Nikolay Igotti
cf9ccdb617 Switch templates to 0.4.0-build179 2021-04-06 09:33:28 +03:00
Shagen Ogandzhanian
69b0ce57f5 Fix arguments for sync in Docker for compose-web 2021-04-06 06:59:55 +02:00
Shagen Ogandzhanian
1eb9bf6e77 Add chrome to the Docker image for compose-web CI 2021-04-06 06:46:51 +02:00
Shagen Ogandzhanian
ba1f3c57c6 Update symlinks in compose-web/Dockerfile 2021-04-05 21:19:15 +02:00
Shagen Ogandzhanian
6ee7147fe3 Speed up syncing and creating symlink for compose-web/Dockerfile 2021-04-05 19:35:34 +02:00
Alexey Tsvetkov
d3d0938eb6 Add preview project example 2021-04-05 20:04:32 +03:00
Alexey Tsvetkov
b483ad4c22 Add preview support to Gradle plugin 2021-04-05 20:04:32 +03:00
Alexey Tsvetkov
f80456dd46 Refactor: move AbstractComposeDesktopTask 2021-04-05 20:04:32 +03:00
Alexey Tsvetkov
6dbe467abf Split Maven artifact configuration and Gradle plugin configuration
This is needed to introduce non-Gradle plugin modules under gradle-plugins build for
Compose preview runtime.
2021-04-05 20:04:32 +03:00
Alexey Tsvetkov
a3a17813e5 Introduce Idea preview plugin 2021-04-05 20:04:32 +03:00
Alexey Tsvetkov
d16b9ed4be Update badges in README
Add badges for the latest stable release and for the latest release including pre-releases
2021-04-05 19:52:54 +03:00
Alexey Tsvetkov
826f130b99 Set NSSupportsAutomaticGraphicsSwitching in native Mac distributions by default
Resolves #545
2021-04-05 19:39:31 +03:00
DetachHead
da8a6a44a0 error message for 32 bit arch (#562) 2021-04-05 18:44:13 +03:00
Shagen Ogandzhanian
56bb89fad6 Enforce bash as default shell in compose-web Dockerfile (the right way) 2021-04-05 01:06:07 +02:00
Shagen Ogandzhanian
bdeea79e9d Use bash by defaule in compose-web/Dockerfile 2021-04-03 00:56:42 +02:00
Alexey Tsvetkov
938f581a3d Update copyright notices 2021-04-01 23:46:02 +03:00
Murat Baysangurov
7414ee54a4 TodoApp. Minor fixes due to API changes (#548) 2021-03-31 09:21:23 +03:00
Arkadii Ivanov
1849838e82 TodoApp. Update Decompose to 0.2.0, enable navigation animations. (#544) 2021-03-29 09:57:03 +03:00
Shagen Ogandzhanian
963ab0dc55 Introduce experimental Dockerfile for compose-web-based jobs 2021-03-26 14:39:10 +01:00
Alexey Tsvetkov
b00aa7d5d3 Test Gradle plugin with Gradle 7.0
`withJava()` is removed from MPP test, because our tests don't contain Java,
 but the latest stable version of Kotlin fails with exceptions,
 when Gradle 7.0 is used. The issue is fixed in Kotlin's master:
 297aa17b6e
2021-03-22 11:24:35 +03:00
Alexey Tsvetkov
4e673239a7 Split integration and unit Gradle plugin tests
Previously some tests (e.g. FileHashTest) were executed
multiple times in each test task.
This change splits tests in the following way:
* `testGradle-<VERSION>` task only runs `org.jetbrains.compose.gradle.*` tests
with the corresponding Gradle version;
* `test` runs all other tests once;
* `check` runs all tests and checks;
2021-03-22 11:24:35 +03:00
Alexey Tsvetkov
14ee86fa6c Document suggestModules task 2021-03-22 11:21:37 +03:00
Steyn Geldenhuys
4769b2f8e9 Update README.md with image resource path (#510)
The loading "images from resources" specifies that the image is placed in `resources/images` however the loading of the resource does not reflect this path.
2021-03-20 16:51:11 +03:00
Alexey Tsvetkov
dc428d3a22 Add suggestRuntimeModules task
Resolves #463
2021-03-19 09:17:16 +03:00
Casey Brooks
1e42748fd1 Updates Native Distributions documentation
Updates Native Distributions documentation to include a note about Java Modules, and how to determine necessary modules and provide them to the Gradle plugin configuration
2021-03-19 06:53:32 +03:00
Tad Fisher
b9c2f080d9 Fix task validation errors 2021-03-19 06:36:10 +03:00
Alexey Tsvetkov
76cccb93b9 Don't apply Compose compiler plugin to JS and Native compilations
Resolves #352

The fix resolves the issue only for Kotlin compiler builds the following commit:
d023f09bd4

See also https://youtrack.jetbrains.com/issue/KT-45020
2021-03-19 05:02:34 +03:00
Alexey Tsvetkov
ceab5f0979 Escape launcher arguments and JVM arguments with extra quotes
Resolves #465
2021-03-18 09:01:48 +03:00
jimgoog
f9e6283c5b Wordsmith swing interop API description (#500)
We've been seeing an antipattern where people are literally "passing a view/jcomponent" into the interop API by merely referencing the native object in the factory lambda.  This usage is very much an antipattern.  Wordsmithing a bit to avoid putting that idea into people's minds.
2021-03-15 19:33:11 +03:00
Arkadii Ivanov
8d6be48499 TodoApp. Get rid of Dependencies interfaces. (#480) 2021-03-11 16:15:47 +03:00
ligi
ad1c14381c ImageViewer. Adapt folder to package (#478) 2021-03-11 16:05:14 +03:00
Dominic Fischer
7e5cfc53a8 Imageviewer. Refactor Application for observable properties (#447)
* Refactor Application for observable properties

* Style

* Add RememberObserver

* Comment out problematic update
2021-03-02 13:58:39 +03:00
Alexey Tsvetkov
9467407dcd Document dockName property 2021-03-02 11:08:48 +03:00
Alexey Tsvetkov
0314bc4b80 Provide default icon for native distributions
Resolves #274
2021-03-02 11:08:24 +03:00
Nikolay Igotti
2f7f05babd Move to 0.3.2. 2021-03-02 09:51:30 +03:00
Andrew Rudenko
b68f5995b7 Mouse_Events tutorial: add section about AWT's MouseEvent (#455) 2021-03-02 09:18:32 +03:00
Alexey Tsvetkov
2fac821f99 Allow including all runtime modules 2021-03-02 09:10:48 +03:00
Alexey Tsvetkov
a99b3eaa83 Require JDK 15+ for creating native distributions
Resolves #428
2021-03-02 09:10:48 +03:00