Konstantin
0d0e133e86
[gradle] Add DSL to configure compose resources ( #4482 )
...
Example:
```kotlin
compose.resources {
publicResClass = true
packageOfResClass = "me.sample.library.resources"
generateResClass = auto
}
```
3 months ago
Konstantin
c43b64d43a
[resources] Fix android fonts in APKs ( #4509 )
...
Steps to reproduce:
1) Add a 'font-en' directory with a font to an android app with compose
resources
2) build the app with `assembleDebug` and check that a corresponding dir
is presented in the final APK
3) rename a qualifier of the dir to `font-de`
4) re-build the app with the same command `assembleDebug`
Expected: the new APK will contain the new font dir
Actual: the new APK doesn't have the new font dir but has old one
'font-en'
The PR fixes that
3 months ago
Konstantin
629cd055dc
Support multimodule projects and libraries publication with compose resources ( #4454 )
...
- integrate KGP resource API
- packaging final resources to iOS and JS/Wasm applications
- integration tests of publication and multi module support
- info logging of supported Gradle and KGP versions
### requirements
- Kotlin Gradle Plugin >= 2.0.0-Beta05
- Gradle >= 7.6
3 months ago
Pavel Shishkin
3de2f3bfbe
update compose compiler version to 1.5.10.1 ( #4474 )
...
Fixes https://github.com/JetBrains/compose-multiplatform/issues/4455
4 months ago
Shishkin Pavel
730e368de7
update compiler version to 1.5.10 ( #4452 )
4 months ago
Konstantin
f683673b7e
Fix package name of generated Res file when project is building for JsTarget ( #4295 ) ( #4300 )
...
Origin: https://github.com/JetBrains/compose-multiplatform/pull/4296
---------
Co-authored-by: Suhaib Roomy <suhaib.roomy@booking.com>
4 months ago
Konstantin
6038d44d5e
[resources] Fix resource packaging in APK when 'build' task is used with AGP 8.2+ ( #4408 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4407
4 months ago
Konstantin
0402c28803
[resources] Fix Res class generation if the library is declared as 'api' ( #4406 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4405
4 months ago
Konstantin
8ad5473ea5
[resources] Init resource accessors lazily and in external function to avoid MethodTooLargeException ( #4404 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4194
4 months ago
Konstantin
204a6f57bc
Support three letters locales ( #4394 )
4 months ago
Oleksandr Karpovich
ea161426f2
Remove coroutines version substitution for web targets ( #4369 )
...
All targets (including desktop and ios) now should use coroutines 1.8.0
___
According to COMPOSE-939
4 months ago
Konstantin
2e64180384
Fix package name of generated Res file when project is building for JsTarget ( #4295 ) ( #4300 )
...
Origin: https://github.com/JetBrains/compose-multiplatform/pull/4296
---------
Co-authored-by: Suhaib Roomy <suhaib.roomy@booking.com>
4 months ago
Konstantin
bf8b8ec4a3
[resources] Fix resource packaging in APK when 'build' task is used with AGP 8.2+ ( #4408 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4407
4 months ago
Konstantin
7ce3063911
[resources] Fix Res class generation if the library is declared as 'api' ( #4406 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4405
4 months ago
Konstantin
ca3ae45516
[resources] Init resource accessors lazily and in external function to avoid MethodTooLargeException ( #4404 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4194
4 months ago
Konstantin
f833fa9945
Support three letters locales ( #4394 )
4 months ago
Marco Gomiero
e1aff758c0
Add possibility to modify the macOS minimum version ( #4271 )
...
Hi all 👋
I recently tried to publish my macOS app to the App Store and the
publishing failed because I wasn't including an Intel version
<img width="609" alt="Screenshot 2024-02-04 at 17 31 52"
src="https://github.com/JetBrains/compose-multiplatform/assets/9467705/a3f421ed-ca77-460b-bc2e-7ceafb3ca1c0 ">
The alternative could be publishing a Universal binary, but it's not
quite supported now (see #1599 ). But by setting the minimum version of
macOS to 12, it's possible to upload only arm version.
So, I've added the possibility of changing the minimum macOS version.
4 months ago
Oleksandr Karpovich
a5e57ae432
Remove coroutines version substitution for web targets ( #4369 )
...
All targets (including desktop and ios) now should use coroutines 1.8.0
___
According to COMPOSE-939
4 months ago
Konstantin
55cc437465
Fix import android flavors with compose resources ( #4319 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4318
4 months ago
Shishkin Pavel
581f97780a
compiler plugin 1.5.9 for kt 2.0.0-Beta4 ( #4332 )
...
kotlin 2.0.0-Beta4 to 1.5.9-kt-2.0.0-Beta4
4 months ago
Shishkin Pavel
4eb808620a
compiler plugin 1.5.9 for kt 2.0.0-Beta4 ( #4332 )
...
kotlin 2.0.0-Beta4 to 1.5.9-kt-2.0.0-Beta4
4 months ago
Konstantin
8f2fa296fe
Fix import android flavors with compose resources ( #4319 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4318
4 months ago
Pavel Shishkin
56d3aff538
update compiler plugin version to 1.5.8.1 (stable)
4 months ago
Shishkin Pavel
b3455919b9
update compiler plugin version to 1.5.8.1 (stable) ( #4314 )
4 months ago
Konstantin
cc0e18474a
Fix resource accessors compilation when there are huge number of resource files. ( #4294 )
...
Instead of object properties there are being generated extension
properties in different files.
fixes https://github.com/JetBrains/compose-multiplatform/issues/4285
4 months ago
Konstantin
a73f8fa7c9
Fix resource accessors compilation when there are huge number of resource files. ( #4294 )
...
Instead of object properties there are being generated extension
properties in different files.
fixes https://github.com/JetBrains/compose-multiplatform/issues/4285
4 months ago
Konstantin
fbf5dbe20f
Fix fonts duplication in android app. ( #4284 )
4 months ago
Oleksandr Karpovich
689f63112a
Gradle Plugin: Simplify coroutines version check ( #4283 )
4 months ago
Konstantin
a0601c3024
Register all hierarchical compose resources in android compilation ( #4274 )
5 months ago
Oleksandr Karpovich
c4bc761b0d
Gradle Plugin: Force kotlinx-coroutines version 1.8.0-RC2 for web targets in user projects ( #4278 )
...
Removed such the version substituion from the resources library. The
versions will be subtituted now by gradle plugin.
5 months ago
Shishkin Pavel
e680f9ffa3
update compiler version to 1.5.8.1-beta02 ( #4269 )
...
fixed:
https://github.com/JetBrains/compose-multiplatform/issues/3318
https://github.com/JetBrains/compose-multiplatform/issues/3643
https://github.com/JetBrains/compose-multiplatform/issues/4055
5 months ago
Konstantin
2b12d57008
Configure android variants the correct way instead of the hack with 'dependsOn' ( #4264 )
5 months ago
Konstantin
8ee7531c42
Clean code-gen directory if there was deleted a dependency on the res library ( #4257 )
...
fixes https://github.com/JetBrains/compose-multiplatform/issues/4242
5 months ago
Konstantin
d6b8681b22
Don't make resource IDs lowercased ( #4253 )
5 months ago
Konstantin
b8be217dad
Configure explicit dependency on the copyFonts task to fix a build ( #4247 )
5 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
5 months ago
Konstantin
b1e86ade36
Generate initializer functions in the Res file to avoid the MethodTooLargeException ( #4205 )
5 months ago
Shishkin Pavel
6c38a4ae9a
update compiler plugin version to 1.5.8.1-beta01 ( #4203 )
5 months ago
Konstantin Tskhovrebov
ee26bf8bee
Use "project.findProperty" instead of "providers.valueOrNull" to fix sub-module gradle properties for res class generation
5 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
5 months ago
Konstantin
2e354eba3a
Support compose resources for ios tests ( #4185 )
5 months ago
Konstantin
2b8c35e16c
Support Res class generation in JVM only compose projects ( #4183 )
5 months ago
Konstantin
fbab715c20
Generate Res class if there is no common composeResource dir ( #4176 )
5 months ago
Konstantin
3040ea85bb
Configure android resources after the agp is applied and ignore hidden files in resources
5 months ago
Konstantin
c31c761e09
Mark all resources public API as experimental. ( #4146 )
...
And all public but only for generated code API as @InternalResourceApi
5 months ago
Oleksandr Karpovich
0e8a92a59f
Update compose compiler compatibility ( #4145 )
5 months ago
Konstantin
f405dd8ba0
Delete experimental marker from stable resources APIs ( #4144 )
5 months ago
Konstantin
747aab02f3
Introduce top level composeResources dir ( #4127 )
5 months ago
Alexander Maryanovsky
a4cb97a6bf
Add `compose.uiTest` dependency name to ComposePlugin ( #4100 )
6 months ago
Konstantin
8955e66eac
Introduce a 'composeResources/files' directory for any files. ( #4079 )
...
Introduce a 'composeResources/files' directory for any files.
6 months ago