Commit Graph

292 Commits

Author SHA1 Message Date
Oleksandr Karpovich
bc6d42ef44 Update versions: compose - 1.3.0 and kotlin - 1.8.0 (#2651)
* Update versions in examples

* Add more scripts to validate example on android and k/js

* Add validateExamplesIos.sh

* Update CHANGELOG.md for 1.3.0

* check examples with 1.3.0-rc06

* Update the versions: compose-multiplatform - 1.3.0, kotlin - 1.8.0

* Update ComposeCompilerCompatibility (1.4.0)

* Update web/yarn.lock
2023-01-30 21:02:23 +01:00
Thomas Vos
752815d96a Improve documentation for signing on macOS (#2591)
* Improve documentation for signing on macOS

* fixup! Improve documentation for signing on macOS
2023-01-07 09:09:02 +01:00
Igor Demin
be0c1c87e1 Release 1.2.2 (#2561)
* Compose 1.2.1-rc01

* Fix Web build for Kotlin 1.7.20

* Use 1.3.2.1-rc02 in Gradle plugin

* Fix Gradle Plugin tests

* Fix Gradle Plugin tests

* Compose 1.2.1-rc03

* Update CHANGELOG.md

* Update CHANGELOG.md

* Compose Compiler 1.3.2.1

* Compose 1.2.1

* Update VERSIONING.md

* Update gradle.properties

* Fix custom JDK tests on Linux

* Remove JVM target version override (#2515)

Previously, we were setting kotlin.jvmTarget version
to 1.8 if it was null or < 1.8.
As an unintended consequence we were also overriding
a version set by the jvmToolchain property.
So while users expected the jvmToolchain property
to set both jdk home & jdk target, we were quietly
overriding jdk target.

At the same time, Kotlin 1.7 sets the minimum
target version to 1.8 anyway, so our override
does not make sense with Kotlin 1.7+.

This commit removes overriding altogether.

Fixes #2511

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update Compose

* Update default ProGuard rules with changes from main branch

* Test Gradle plugin on relevant PRs (#2509)

* Update Gradle used in tooling subprojects

* Update Kotlin in Compose Gradle plugin

* Decrease verbosity of Gradle plugin tests

* Disable mac sign test

* Add workflow to test Gradle plugin

* Fix custom jdk tests on Linux

* Make Compose Gradle plugin build compatible with Configuration cache

* Print tests summary

* Remove unused code

* Refactor tests configuration

* Turn off parallel execution

* Try adding windows runner

* Turn off fail fast

* Fix Windows test issues

#2368

* Adjust default proguard rules

The following rule is needed to fix tests on Windows:
```
-dontwarn org.graalvm.compiler.core.aarch64.AArch64NodeMatchRules_MatchStatementSet*
```

Other rules are just to make builds less noisy.
Kotlin's `*.internal` packages often contain
bytecode, which triggers ProGuard's notes.
However, these notes are not actionable for
most users, so we can ignore notes by default.

#2393
# Conflicts:
#	gradle-plugins/gradle/wrapper/gradle-wrapper.properties

* Improve DSL for setting a custom Compose Plugin (#2527)

* Improve DSL for setting a custom Compose Plugin

Fixes https://github.com/JetBrains/compose-jb/issues/2459

Readme: https://github.com/JetBrains/compose-jb/pull/2526

1. Add `dependencies: Dependencies` extension that is accessible in `compose { }` block
2. Add `Dependencies.compiler` property that can return versions of Compose compiler used by the plugin:
```
compose {
    kotlinCompilerPlugin.set(dependencies.compiler.forKotlin("1.7.20"))
    //kotlinCompilerPlugin.set(dependencies.compiler.auto) // determined by applied version of Kotlin. It is a default.
}
```

3. Add ability to set arguments for Compose Compiler. Now we can write:
```
compose {
    kotlinCompilerPlugin.set(dependencies.compiler.forKotlin("1.7.20"))
    kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.7.21")
}
```

4. Remove checks for different targets

We had a separate check for JS, when we released 1.2.0. It doesn't support Kotlin 1.7.20 at that moment.

It is hard to refactor this feature in the new code, so I removed it. It is not needed now and it had an ugly code. When we will need it again, we'll write it again.

5. Remove the `compose.tests.androidx.compiler.version` property from gradle.properties and remove `defaultAndroidxCompilerEnvironment`

Because they are used only in one test, and it seems there is no reason to use it in another place in the future

* Discussions

* Update ComposeCompilerCompatability.kt (#2557)

* Update CHANGELOG.md

* 1.2.2-rc01

* Update Compose

* Update CHANGELOG.md

* Compose 1.2.2

* Remove shared.podspec

* Remove usages of deprecated Intellij APIs

Co-authored-by: Alexey Tsvetkov <alexey.tsvetkov@jetbrains.com>
Co-authored-by: Alexey Tsvetkov <654232+AlexeyTsvetkov@users.noreply.github.com>
2022-12-15 01:14:26 +01:00
dima.avdeev
9f47529634 Describe workaround with Tab navigation and multiline TextField's (#2496) 2022-11-23 20:59:19 +03:00
Igor Demin
b58d3355b3 Actualize Getting started tutorials (#2457)
Fixes https://github.com/JetBrains/compose-jb/issues/2450
2022-11-08 20:47:49 +01:00
Igor Demin
63846c63c0 Compose 1.2.1 (#2453) 2022-11-07 14:46:37 +01:00
Evan
2b29bd2889 Removed misplaced comma in Web UI Building README (#2416) 2022-10-24 20:20:04 +02:00
Fabian Neugart
af7957d3a2 Removed unnessary import (#2421)
That import is not needed anymore with 1.2.0. 
https://github.com/JetBrains/compose-jb/pull/2215
2022-10-24 20:17:31 +02:00
Alexey Tsvetkov
2af56d8cbf Add tutorial on using ProGuard (#2392)
* Add tutorial on using ProGuard

Resolves #1174
2022-10-12 18:22:49 +03:00
Oleksandr Karpovich
5936fd8063 Update compose-web examples and readme about effects (#2395)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-10-12 11:01:32 +02:00
Igor Demin
4ee708c598 Upgrade examples to Compose 1.2.0 2022-10-11 21:20:53 +02:00
Igor Demin
eae694ad3d Replace package by packageDistributionForCurrentOS (#2390)
`package` is deprecated
2022-10-11 18:59:20 +02:00
Igor Demin
37e33fba29 Compose 1.2.0-rc02 2022-10-11 17:49:48 +02:00
Igor Demin
7ad4492f43 Migrate to 1.2.0-rc01 (#2382) 2022-10-10 16:40:04 +02:00
Igor Demin
86bb7453d1 Merge remote-tracking branch 'origin/master' into release/1.2
# Conflicts:
#	compose/frameworks/support
#	web/gradle.properties
2022-10-08 15:57:27 +02:00
Igor Demin
3996233b03 Allow to use Compose on multiple Kotlin versions (#2366)
JS target supports a lower version (1.7.10), because we have a bug in Koltin 1.7.20

Compose 1.2.0 will support:

1.7.20 and 1.7.10 for Android and Desktop
1.7.10 for JS
We will release the new patchset (1.2.1) with 1.7.2X support for JS later
2022-10-08 15:50:51 +02:00
Alexey Tsvetkov
87df95cbe9 Don't add public.app-category. prefix to appCategory by default (#1887) 2022-10-08 13:09:43 +02:00
Igor Demin
9fa322a3ee Upgrade to 1.2.0-beta02 2022-10-03 01:51:23 +02:00
Igor Demin
a208ecba73 Upgrade to 1.2.0-beta01 2022-09-30 19:26:10 +02:00
Mike Hearn
91daaae32d Documentation for how to package apps using Conveyor. (#2303)
* Add a mention in the packaging tutorial about Conveyor, with a feature comparison on a separate page.

Remove the link from the main page to the signing/notarization tutorial as it's already linked to from the main packaging tutorial in any case.

* Address review comments.

- Don't talk about jpackage.
- Put the features of the built in tasks first on the comparisons page.
- Remove discussion of JNI.

Additionally:

- Reformat the feature list so the summary comes first in bold.
- Point out that the feature list isn't complete.
2022-09-28 21:41:09 +03:00
Igor Demin
d146b80fff Update README.md 2022-09-20 18:25:10 +02:00
Oleksandr Karpovich
685f59f39c Add a tutorial about a new experimental onClick and onDrag modifiers (#2317)
* Add a tutorial about a new experimental onClick modifier

* add about onDrag

* improve the tutorial

* follow the formatting convention
2022-09-16 14:51:37 +02:00
Igor Demin
5cc9a92ffb Tutorial for context menu interop with Swing (#2315)
* Tutorial for context menu interop with Swing

* Update README.md

* Update README.md

* Update README.md
2022-09-16 12:35:12 +03:00
jimgoog
0d1a309966 Add a "next steps" section to getting started docs (#2250)
* Add a "next steps" section to getting started docs

Users found this "getting started" tutorial by following the link on the Compose MPP landing page, but then didn't find any other docs.  This change helps mitigate the problem by pointing users in a helpful direction after they've gone through the first tutorial.

* Update README.md

Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
2022-08-22 15:24:41 +02:00
Guilherme Delgado
97266a0ac8 Update README.md (#2192)
Removes extra """
2022-07-19 18:28:03 +04:00
Erik Huizinga
e075f68326 Update README.md (#2163)
* Update README.md

* Update README.md

Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
2022-07-05 13:45:46 +02:00
Philip Wedemann
68244c921b Docs: Js only projects are now supported (#2154)
See #1851
2022-07-01 12:05:56 +02:00
Igor Demin
3fd5bbd87a Update README.md (#2125)
- the version of compiler don't have to be matched. Compose compiler backward and forward compatible
- the issue with AGP is fixed
2022-06-30 17:03:12 +02:00
Igor Demin
3ea728d1f4 Update README.md 2022-06-30 14:58:52 +04:00
Adam Howard
8faecbbe58 improve grammar in README (#2121)
* improve grammar in README

* Update README.md

Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
2022-06-17 11:49:48 +04:00
Shreck Ye
cea96d4b56 Fix a bug that the checkbox doesn't toggle in "Code Sample using effects" in tutorials/Web/Using_Effects/README.md (#2014) 2022-05-05 11:10:40 +02:00
Nthily
22bd94be6f Update compose version to 1.1.0 (#1935) 2022-03-08 23:21:17 +03:00
Igor Demin
1375acf8cc Fix Content menu tutorial 2022-03-08 22:24:44 +03:00
Nthily
5867bf0e7b Update README.md (#1929) 2022-03-05 20:05:44 +03:00
Igor Demin
1aa7d122e5 Update CHANGELOG.md 2022-02-27 17:23:29 +03:00
Nikolay Igotti
4af260d36a Move to 1.1.0 (#1882)
Co-authored-by: Roman Sedaikin <roman.sedaikin@jetbrains.com>
Co-authored-by: Igor Demin <igordmn@gmail.com>
2022-02-25 20:48:49 +03:00
Nikolay Igotti
2bde986c15 Move tutorial checker 2022-02-22 11:01:14 +03:00
Ryan Mitchener
e40ef3d304 Added KeyEventType check for keyboard events tutorial (#1877)
Added KeyEventType check for keyboard events tutorial in response to https://github.com/JetBrains/compose-jb/issues/1871
2022-02-21 18:50:21 +03:00
Roman Sedaikin
2afe439a81 Updated tutorial of [Swing Integration]. (#1844)
* Updated tutorial of Swing interop.

Co-authored-by: akurasov <86794754+akurasov@users.noreply.github.com>
2022-02-18 18:29:49 +03:00
Nikolay Igotti
ad2f889b11 Reset timebomb 2022-02-15 11:44:53 +03:00
Thomas Vos
f568117a79 Fix provisioning profile documentation (#1820) 2022-02-11 08:16:52 +03:00
akurasov
d6e6cf5e0c Documentation for #1016 2022-02-10 19:08:04 +03:00
Thomas Vos
aa08279104 Fix TestFlight builds (#1812) 2022-02-10 12:05:26 +03:00
Aleksandr Veselov
d822283c4b Add docs about desktop a11y (#1775) 2022-02-08 20:55:45 +03:00
Sebastian
e1d0a39cf4 Add proguard configuration to tutorial (#1786) 2022-02-03 16:01:09 +03:00
James Hamilton
becd9e6155 Update ProGuard version in example (#1777)
Update ProGuard version and remove exclude for Android build tools dependency. The exclude should no longer be required (https://github.com/Guardsquare/proguard/issues/66).
2022-02-03 10:57:29 +03:00
Sebastian
ef0ed6c447 Fix issue on proguard example (#1780) 2022-02-03 10:57:01 +03:00
Igor Demin
b83d681c1f Update README.md 2022-02-01 15:13:56 +03:00
Nikolay Igotti
d27b757092 Fix tutorial checker 2022-02-01 09:17:02 +03:00
Asad Dhorajiwala
ddb80e8161 Added link to Gradle tool window (#1757) 2022-01-27 18:03:53 +03:00