Commit Graph

35 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
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
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
Igor Demin
4ee708c598 Upgrade examples to Compose 1.2.0 2022-10-11 21:20:53 +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
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
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
Oleksandr Karpovich
e902beeece release 1.0.1-rc2 with 1.6.10 (#1590)
* move to kotlin 1.6.10-RC and corresponding compose commit

* Update path to the karma plugin we are patching

* Add ExperimentalComposeWebStyleApi

what worries me that this actually shows that there are some cases where without any changes apart version compiler people will have to worry about such annotations

* update kotlin version in templates to adopt 1.6.10-RC

* web: move ComposableWithNullableTypeParameter.kt to passing test cases

* update kotlin version in other places

* update imageviewer example: add OptIn for experimental API

* move compose

* move to kotlin 1.6.10 and corresponding compose

* move to kotlin 1.6.10 and corresponding compose

* move to 1.0.1-rc2

* move to 1.0.1-rc2 (todoapp)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
Co-authored-by: Shagen Ogandzhanian <shagen.ogandzhanian@jetbrains.com>
2021-12-14 15:19:20 +01:00
Oleksandr Karpovich
716ae31757 add common issues section to Web/Getting_Started tutorial 2021-12-06 10:18:00 +01:00
Oleksandr Karpovich
b29bd17944 update web tutorial: add info about --continuous flag 2021-12-02 21:32:04 +01:00
Oleksandr Karpovich
0fe4c73f81 web: remove warning about experimental in tutorials 2021-12-02 15:10:42 +01:00
Igor Demin
559e9364f1 Move examples to 1.0.0 (#1524) 2021-12-01 20:23:48 +03:00
Igor Demin
21473b13f1 Move to 1.0.0-rc12 (#1518)
* Move build_from_cli

* Migrate to 1.0.0-rc12

* Comment about LWJGL

* Update Tutorials
2021-12-01 15:37:02 +03:00
Kaaveh Mohamedi
35504f7216 Updated README for more clarity (#1281) 2021-11-22 22:52:50 +03:00
Igor Demin
493d7c775e Fix tutorials (#1208) 2021-09-28 13:55:15 +03:00
akurasov
e19280b570 fixing template link 2021-08-31 16:03:19 +03:00
Igor Demin
4f1101b5ae Templates. Set fixed height (#996) 2021-08-04 15:02:45 +03:00
Igor Demin
1786de28a7 Sync/2021 07 30 (#961) 2021-07-31 00:38:25 +03:00
Oleksandr Karpovich
b41344ef41 Web/update tutorials and examples (#942)
* web: Update tutorials (to use 0.5.0-build270)

* web: Update examples (to use 0.5.0-build270 and kotlin 1.5.21)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-07-28 17:50:20 +02:00
Oleksandr Karpovich
e40f7a0d9a Update web tutorials for 0.5.0-build228 (#833)
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-06-29 16:49:17 +02:00
Shagen Ogandzhanian
4937918a28 Update examples after publishing 0.5.0-build226 2021-06-23 23:18:59 +02:00
Louis CAD
a57f037c12 Reformat Kotlin snippet in README (#781)
It now conforms to the official Kotlin style guide.
2021-06-17 10:55:09 +03:00
Shagen Ogandzhanian
c8794cbad6 Update web examples after the 0.5.0-build225 release 2021-06-15 20:26:01 +02:00
Shagen Ogandzhanian
90d7933f5a Update artifact version in web tutorial to 0.5.0-build222 2021-06-09 20:01:16 +02:00
Oleksandr Karpovich
bfc5a91d2a Update web tutorials and template to conform the latest API changes 2021-06-01 22:28:38 +02:00
Shagen Ogandzhanian
de2ee4c8e5 Update web tutorial 2021-06-01 21:07:34 +02:00
Oleksandr Karpovich
e727dab151 Add a template for building snippets from web tutorials 2021-05-31 22:59:45 +02:00
Oleksandr Karpovich
c3403681e2 Update web-getting-started example and tutorial 2021-05-31 12:03:47 +02:00
Oleksandr Karpovich
809d83b137 Update compose-web Getting Started tutorial with a new kotlin and compose versions 2021-05-25 18:50:56 +02:00
Alexander Perfilyev
a36d36886c Update compose web example in README.md (#671)
closes #669
2021-05-17 12:30:30 +03:00
Oleksandr Karpovich
165e3beeb2 Update the compose-web Getting Started tutorial 2021-05-04 10:46:46 +02:00
Oleksandr Karpovich
6d76c337b3 Add tutorials for getting started with Compose for Web (#628)
* Add Compose for Web tutorials

* Update the compose-web tutorials

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2021-05-03 19:01:46 +02:00