fails with K1 and kotlin >= 1.9.0
./gradlew :testcase-inheritance-composableInterface-main:cleanLinuxX64Test :testcase-inheritance-composableInterface-main:linuxX64Test
Dowgrading to Kotlin 1.8 will allow to use `components` in Kotlin 1.8 and Kotlin 1.9 projects (iOS, JS targets). Now it is supported only in Kotlin 1.9 projects.
Because:
1. it uses experimental API, that was changed int 1.5.0-beta03 after 1.4.0
2. we have a policy to use only release versions in the examples
Temporarily, will made a fix in support/1.5.0 branch
* Hardcode 1.8.21 as kotlin version in compose.html to make new version compatible with older kotlin
* keep the old property name for kotlin version - 'kotlin.version'
* Simplify resource management for iOS
Introduces new a new task 'sync<FRAMEWORK_CLASSIFIER>ComposeIosResources',
which collects resources from all source sets, included in iOS targets.
With this change:
* CocoaPods integration does not require any configuration or calling 'pod install' after changing resources.
* Important: existing projects need to remove 'extraSpecAttributes["resources"] = ...' from build scripts, and rerun `./gradlew podInstall` once!
* Without CocoaPods, the resource directory should be added to XCode build phases once.
Resolves#3073Resolves#3113Resolves#3066
* Add a warning for a user who sets `compose.kotlinCompilerPlugin` to `android.compose.compiler.compiler`
The warning will show up only when a multiplatform project contains at least one of the non-jvm targets: k/js, k/native or k/wasm
* fix typo
* PR review
* Refactor to BuildService
* fix typo
* Improve error messages when checking tasks
Previously some errors in checkRuntime task
were reported as a nested exception.
By default, Gradle shows only top-level
error message of an exception, which
made some errors confusing.
For example, when javac was missing from JDK,
Gradle only showed "Could not infer Java runtime version for Java home directory".
The part that said javac was missing was only shown,
when Gradle was run with --stacktrace argument.
This is suboptimal UX, so this commit refactors
checkRuntime to make error messages more descriptive.
#3133
* Handle JDK 1.8 correctly
* Prebuild jdk version probe
* Redesign chat example
* Minor typography improvements
* Code cleanup
* Update examples/chat/iosApp/iosApp/iosApp.swift
Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
* Use JPG instead of PNG
* Turn background in to a JPG
Add raw PXD file.
* Remove TEAM_ID
* Move to sp sizes
* Make Android text consistent with iOS variant
* Prefer light color scheme to prevent unwanted text color switch
* Remove PXD
---------
Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
* Add a benchmark extracted from #2283 issue
* A benchmark with infinite animation based on official template project
* A benchmark app extracted from compose/integration/macrobenchmark
* A benchmark app extracted from the NY sample of examples/visual-effects
* First pass at adding Xml parsing support to js platform
Likely still need to add tests and samples
* Add JS to Parser Node and Element converter
Mirrors native impl by returning empty strings when content is unavailable
Moves MalformedXMLException out of native code, useful for common case.
* Remove unneeded null checks in Parser
Last commit handled null management
* Add newlines for code linter
* Fix namespaceUri bug
Undo accidental capture of localName
Also remove unneeded null check
* Undo grade.properies change
Had to disable webpack version number property to run sample
* Clean up NodeImpl comments
Corrected description
* Make NodeList impl lazy
Generates only when needed, serves cache after