Konstantin
d6b8681b22
Don't make resource IDs lowercased ( #4253 )
9 months ago
Konstantin
b8be217dad
Configure explicit dependency on the copyFonts task to fix a build ( #4247 )
9 months ago
Konstantin
a6b8b50423
Add a type name to the resource initializers ( #4240 )
...
to avoid "Overload resolution ambiguity" for different resources with a
same name
https://github.com/JetBrains/compose-multiplatform/issues/4237
9 months ago
Konstantin
84e52986dc
Relocate a bundled KotlinPoet to the internal package
9 months ago
Konstantin
b1e86ade36
Generate initializer functions in the Res file to avoid the MethodTooLargeException ( #4205 )
10 months ago
Shishkin Pavel
6c38a4ae9a
update compiler plugin version to 1.5.8.1-beta01 ( #4203 )
10 months ago
Konstantin Tskhovrebov
ee26bf8bee
Use "project.findProperty" instead of "providers.valueOrNull" to fix sub-module gradle properties for res class generation
10 months ago
dima.avdeev
50908d620a
Add ui-tooling-preview alias to gradle plugin ( #4190 )
...
https://youtrack.jetbrains.com/issue/COMPOSE-857/Provide-compose.components.uiToolingPreview-alias
10 months ago
Konstantin
2e354eba3a
Support compose resources for ios tests ( #4185 )
10 months ago
Konstantin
2b8c35e16c
Support Res class generation in JVM only compose projects ( #4183 )
10 months ago
Konstantin
fbab715c20
Generate Res class if there is no common composeResource dir ( #4176 )
10 months ago
Konstantin
3040ea85bb
Configure android resources after the agp is applied and ignore hidden files in resources
10 months ago
Konstantin
c31c761e09
Mark all resources public API as experimental. ( #4146 )
...
And all public but only for generated code API as @InternalResourceApi
10 months ago
Oleksandr Karpovich
0e8a92a59f
Update compose compiler compatibility ( #4145 )
10 months ago
Konstantin
f405dd8ba0
Delete experimental marker from stable resources APIs ( #4144 )
10 months ago
Konstantin
747aab02f3
Introduce top level composeResources dir ( #4127 )
10 months ago
Alexander Maryanovsky
a4cb97a6bf
Add `compose.uiTest` dependency name to ComposePlugin ( #4100 )
11 months ago
Konstantin
147bb6bdca
Update compose version to 1.6.0-dev1357 ( #4096 )
11 months ago
Konstantin
8955e66eac
Introduce a 'composeResources/files' directory for any files. ( #4079 )
...
Introduce a 'composeResources/files' directory for any files.
11 months ago
Oleksandr Karpovich
86cfe355fb
Update compose compiler version for kotlin 1.9.22 ( #4089 )
...
1.5.7.1 contains a fix for k/js
https://github.com/JetBrains/compose-multiplatform/issues/4076
11 months ago
Oleksandr Karpovich
b3dee0db79
Add kotlin 1.9.22 support ( #4075 )
11 months ago
Oleksandr.Karpovich
dad2f96ee9
Remove older kotlin versions (1.9.0 and 1.9.10) in nativeCacheKind test
...
The recent compose core libs are built using 1.9.21, and apparently, older k/native versions don't support them.
e: kotlin.NotImplementedError: Generation of stubs for class org.jetbrains.kotlin.ir.symbols.impl.IrTypeParameterPublicSymbolImpl is not supported yet
11 months ago
Konstantin
8423efc466
Override non-composable function getResourceEnvironment for tests ( #4057 )
11 months ago
Konstantin
27915cbc0f
Get environment and select resource by qualifiers ( #4018 )
11 months ago
Oleksandr Karpovich
972c740c1e
Update gradle plugin to make sure that skiko.wasm is unpacked for web tests too ( #4030 )
...
Co-authored-by: Oleksandr.Karpovich <oleksandr.karpovich@jetbrains.com>
11 months ago
Oleksandr Karpovich
93b513458d
Update for k/wasm ( #4009 )
...
This a comanion PR to
https://github.com/JetBrains/compose-multiplatform-core/pull/914
Resources lib doesn't contain k/wasm target yet. It will be added in a
separate PR
---------
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
11 months ago
Konstantin Tskhovrebov
dfaeced984
Handle a case when a module group name is empty in Gradle Plugin.
...
And change error reporting to warning for unknown resource type
12 months ago
Konstantin Tskhovrebov
94bda44b86
Fix ResourcesTest
12 months ago
Konstantin Tskhovrebov
c867c68364
Add support for a dash character and digit on first place in resource names
12 months ago
Konstantin
181bfd1612
Resources gradle plugin ( #3961 )
12 months ago
dima.avdeev
f4272bf4c7
Fix Compose Gradle plugin Issue with daemon in Issue 3933 ( #3951 )
...
Fix for Issue
https://github.com/JetBrains/compose-multiplatform/issues/3933
Applyed workaround described in Gradle Issue:
https://github.com/gradle/gradle/issues/27099
We just need to call all functions (getters in our case) in our
interface based on BuildServiceParameters at least once
12 months ago
Oleksandr Karpovich
22165d82d9
Support kotlin 1.9.21 ( #3966 )
12 months ago
Oleksandr Karpovich
ab34030a87
Add kotlin 2.0.0-Beta1 to ComposeCompilerCompatibility ( #3934 )
...
I decided to add the kotlin version name to the name of our artefact to
make it more obvious.
1 year ago
Oleksandr Karpovich
62d9dcdd3f
Fix wix toolset download duplication ( #3882 )
...
Fixes #3876
1 year ago
Igor Demin
1b44c94bd0
Fix Gradle Plugin Test screenshots ( #3920 )
...
Antialiasing changed after upgrading Skia
1 year ago
Alexander Zhirkevich
0a301bdcd5
Add ui-util to gradle plugin ( #3895 )
...
Resolves #3894
1 year ago
Nikolai Rykunov
726b98d661
Support 1.5.10 ( #3682 )
...
Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
Co-authored-by: Oleksandr Karpovich <a.n.karpovich@gmail.com>
1 year ago
Oleksandr Karpovich
6f2b81bf88
Support kotlin 1.9.20 ( #3884 )
1 year ago
Oleksandr Karpovich
75e7d174d7
Add kotlin 1.9.20-RC2 support ( #3861 )
...
Add kotlin 1.9.20-RC2 support
1 year ago
Oleksandr Karpovich
ae07ddfd13
Add a better error message when we fail to execute SyncComposeResourcesForIosTask ( #3837 )
...
Reason:
Since Xcode 15, there is a new default setting:
`ENABLE_USER_SCRIPT_SANDBOXING = YES`
SyncComposeResourcesForIosTask fails to work with it right now.
1 year ago
Oleksandr Karpovich
b112e0865d
Support kotlin 1.9.20-RC ( #3804 )
1 year ago
dima.avdeev
3d4db14b51
COMPOSE-350 Remove old Gradle tasks to launch iOS App ( #3753 )
...
Issue https://youtrack.jetbrains.com/issue/COMPOSE-350
Also removed kotlinx-serialization library because we don't need to
parse json output of `xrun simctl` anymore
1 year ago
Oleksandr Karpovich
ff59c48617
Fix configuration cache for `syncComposeResourcesForIos` ( #3764 )
...
Currently when `org.gradle.configuration-cache=true` we have an error:
> Configuration cache state could not be cached: field `resourceFiles`
of task `:shared:syncComposeResourcesForIos` of type
`org.jetbrains.compose.experimental.uikit.tasks.SyncComposeResourcesForIosTask`:
error writing value of type
'org.gradle.api.internal.provider.TransformBackedProvider'
Old description (can be ignored):
_This PR attempts to fix it in SyncComposeResourcesForIosTask by
wrapping inputs into providers. It seems that gradle configuration cache
doesn't like some provider types produced by `.map`, `.zip`, `.orElse`,
etc._
**Latest description:**
With configuration cache enabled, gradle runs all `orElse` providers
during configuration (I don't know why yet).
We used to throw an exception in `orElse` which led to the crash. This
PR refactors SyncComposeResourcesForIosTask so it doesn't throw an
exception immediately in orElse, but postpones it to later step.
1 year ago
dima.avdeev
fd6d6c87e1
COMPOSE-338 Remove uikit experimental flag in gradle.properties ( #3747 )
...
Issue https://youtrack.jetbrains.com/issue/COMPOSE-338/remove-iOS-experimental-flag
No more need this line:
org.jetbrains.compose.experimental.uikit.enabled=true
1 year ago
dima.avdeev
e14a99a517
Update Compose version to 1.5.2 ( #3746 )
1 year ago
Oleksandr Karpovich
5ad17128f8
Add API to not apply the Compose Compiler plugin ( #3722 )
...
* Add API to not apply the Compose Compiler plugin
* avoid eager initialization
* Update gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeExtension.kt
Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
* Update gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeExtension.kt
Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
* Apply PR review suggestions:
- Deprecate `compose.web.targets` in favor of `compose.platformTypes`
- refactor `configureExperimentalWebApplication` to support multiple k/js targets
---------
Co-authored-by: Igor Demin <igordmn@users.noreply.github.com>
1 year ago
Oleksandr Karpovich
393cfdd663
Support kotlin 1.9.20-Beta2 ( #3721 )
1 year ago
Oleksandr Karpovich
40543117a3
Add more targets to SUPPORTED_NATIVE_TARGETS ( #3669 )
...
Update according to our k/n targets of compose.runtime
1 year ago
Alexey Tsvetkov
a73909e7ee
Check that teamID is set ( #3708 )
...
The parameter is mandatory with notarytool
1 year ago
Alexey Tsvetkov
50d45f3326
Switch to notarytool for notarization ( #3642 )
...
See https://github.com/JetBrains/compose-multiplatform/pull/3642 for details
Resolves #3208
Resolves #2253
---------
Co-authored-by: Michael Rittmeister <michael@rittmeister.in>
1 year ago