Alexey Tsvetkov
387fa07bd8
Simplify configuration for web and uikit apps ( #1682 )
3 years ago
Alexey Tsvetkov
8ff2a324b6
More CI fixes ( #1649 )
...
* Update Kotlin in SplitPane component
* Use skiko-awt-* artifacts instead of skiko-jvm-*
3 years ago
Alexey Tsvetkov
8f99b0dd8a
Use correct compiler plugin for native
3 years ago
Oleksandr Karpovich
e139fbb1e4
deprecate compose.web.web-widgets in source code and gradle plugin ( #1453 )
...
* deprecate compose.web.web-widgets in source code and gradle plugin (name alias)
* fix typo
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Sebastian
af31eacb74
Expose 'licenseFile' option for native packaging ( #1421 )
3 years ago
Igor Demin
9d29f50691
:compose:animation:animation-graphics ( #1441 )
3 years ago
Igor Demin
db44cc8779
Add material3, mark some libraries as Experiemental ( #1390 )
...
Checked it on the version 0.0.0-feature-material3-build460
Fixes https://github.com/JetBrains/compose-jb/issues/1335
3 years ago
Igor Demin
f4a143dbea
Gradle plugin. macOs. Pass icon and name defined in build.gradle to the Dock ( #1386 )
...
Fixes https://github.com/JetBrains/compose-jb/issues/1342
3 years ago
Alexey Tsvetkov
9b40de61a1
Provide DSL extension for configuring JB Compose repo ( #1301 )
3 years ago
Shagen Ogandzhanian
095379d513
Introduce basic support for SVG ( #1289 )
3 years ago
akurasov
05d218b718
Support OEL publication in gradle plugin ( #1285 )
...
* switching to oel compose branch
* Implementation of OEL publishing
* Changed based on Code Review
* Revert `support` folder
Co-authored-by: Igor Demin <igordmn@gmail.com>
3 years ago
Igor Demin
affbb955b6
Add uiTestJUnit4 to Compose Gradle Plugin ( #1282 )
3 years ago
akurasov
59ab245fdf
Initial implementation of experimental interop with Jetpack Compose ( #1190 )
...
* Initial implementation of experimental interop with Jetpack Compose
* Small refactoring
3 years ago
Oleksandr Karpovich
5dc4f1d9d9
Remove WarnAboutComposeWithSerialization.kt ( #1167 )
...
Since kotlin 1.5.30, kotlinx.serialization plugin is forced to run its transformations before any other plugin. This made compose and kotlinx.serialization compatible, therefore no need to warn about their simultaneous usage.
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Oleksandr Karpovich
805797eb98
web: add `testUtils` alias to gradle plugin ( #1165 )
...
This will allow to use the dependency like this:
`compose.web.testUtils`
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Mitchell Syer
8371226f66
Fix signing settings when no Keychain is specified - Fixed ( #1152 )
...
Closes #1086
Closes #1020
3 years ago
Igor Demin
d956a2a1ee
Revert "Fix signing settings when no Keychain is specified ( #1093 )"
...
This reverts commit 5b34141cbe
.
We have a compilation error:
```
e: /mnt/agent/work/737a92a2f69083c2/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/validation/ValidatedMacOSSigningSettings.kt: (59, 20): Unresolved reference: keychainFile
```
3 years ago
Mitchell Syer
5b34141cbe
Fix signing settings when no Keychain is specified ( #1093 )
...
Closes #1086
3 years ago
Alexey Tsvetkov
7870d665c4
Escape resources dir separator on Windows ( #1005 )
...
Resolves #999
3 years ago
Alexey Tsvetkov
4697b0fed1
Add skiko-runtime-jvm jar to preview classpath if necessary ( #987 )
3 years ago
Alexey Tsvetkov
d8ada29395
Add compose.preview dependency shortcut ( #989 )
...
Useful for MPP modules, that don't depend on compose.desktop.currentOs
3 years ago
Alexey Tsvetkov
6d0f74346f
Allow using relative path, when specifying signing keychain ( #988 )
3 years ago
Alexey Tsvetkov
3070856954
Support packaging resources into distribution ( #983 )
...
Resolves #938
3 years ago
Alexey Tsvetkov
227834f963
Allow preview to work without explicit dependency on compose.uiTooling ( #972 )
...
Add runtime-only module org.jetbrains.compose.ui:ui-tooling-desktop
to preview classpath in configureDesktopPreview task
3 years ago
Scott Pierce
8342d370d6
Sign jnilib files on osx in addition to dylib files. ( #966 )
...
Co-authored-by: Scott Pierce <>
3 years ago
Alexey Tsvetkov
8a685b62fb
Fix compatibility with Gradle < 7.1 ( #957 )
3 years ago
Alexey Tsvetkov
22a7cea62e
Remove deprecated Gradle plugin DSL properties ( #953 )
3 years ago
Alexey Tsvetkov
4945f450e1
Enable running preview for any Compose Desktop module ( #951 )
...
Previously preview only worked in projects,
that define compose.desktop.application {} DSL block
Resolves #908
3 years ago
Oleksandr Karpovich
af2f2b2b8d
Add a check that compose is used along with kotlinx.serialization ( #900 )
...
* Add a check that compose is used along with kotlinx.serialization
There's a known issue that both plugins can't be used in the same module (specifically for kotlin/js targets).
The compose gradle plugin will check for `kotlinx.serialization` and will show a warning.
* Fix PR suggestions
* Update WarnAboutComposeWithSerialization.kt
Update the link for the issue
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Alexey Tsvetkov
b73b09dffc
Include jdk.crypto.ec by default ( #905 )
...
Without this module most of https
is not going to work (see https://github.com/JetBrains/compose-jb/issues/269 or https://github.com/JetBrains/compose-jb/issues/429 )
The inclusion of this module increases a size of
a prepackaged app by ~440 kb
and of a packaged dmg by ~167 kb
3 years ago
Alexey Tsvetkov
6038da77ba
Allow adding extra keys to Info.plist ( #845 )
...
Resolves #795
3 years ago
Igor Demin
b1d8682cbe
Automatically add `-Dcompose.application.configure.swing.globals=true to run/package tasks ( #820 )
...
When users run/package application we will configure Compose to work as standalone application.
It means we will override some global Swing properties in Compose initialization function:
- sets system property `apple.laf.useScreenMenuBar` to true
- sets system property `sun.java2d.uiScale`/`sun.java2d.uiScale.enabled` automatically on Linux
- sets UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName())
When users don't use those tasks (when they use Compose in an existing Swing application, or in an IDEA plugin),
this property will not be set, and so we will not override Swing globals.
3 years ago
Alexey Tsvetkov
e96826c47c
Use Gradle 7.1 for building Gradle and Intellij plugin ( #836 )
...
* Replace usage of 'de.fuerstenau.buildconfig'
with a custom replacement, because the plugin
does not support Gradle 7.0+ and
there has not been any commit activity in 5 years
(https://github.com/mfuerstenau/gradle-buildconfig-plugin );
* Update 'com.github.johnrengelman.shadow' to 7.0.0
3 years ago
Nikolay Igotti
2e82f1cc98
Add linux_arm64 target
3 years ago
Igor Demin
854de3681c
Publish components ( #829 )
3 years ago
Alexey Tsvetkov
2be46f961e
Implement first version of non-interactive preview for desktop ( #803 )
...
Implement first version of non-interactive preview for desktop
3 years ago
Alexey Tsvetkov
92150195ea
Allow specifying asc provider for notarization
...
Resolves #674
4 years ago
Alexey Tsvetkov
1040af337b
Customize Info.plist before jpackage
...
Resolves #679
4 years ago
Shagen Ogandzhanian
06a905e63a
Split web-core to web-core and web-integration
...
This also means that we have new naming for web artifacts in the gradle plugin
4 years ago
Shagen Ogandzhanian
d501a6f721
[web] Set group id and version as a simple project properties
...
As opposed to the failed attempt of configurating it via publishing
Also: Update path in compose.web.web accordingly
4 years ago
Nikolay Igotti
6e3677e450
Fix typo.
4 years ago
Harsh Shandilya
c1aa3a33ca
gradle-plugins/compose: Don't eagerly evaluate web platform
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
4 years ago
Alexey Tsvetkov
7a47ba8dd8
Support Kotlin JS targets in Compose Gradle plugin
4 years ago
Alexey Tsvetkov
d1908bb41a
Re-sign app after patching Info.plist
...
Resolves #602
4 years ago
Alexey Tsvetkov
e7e5b79597
Fix unpacking skiko on Linux and Windows ( #586 )
4 years ago
Alexey Tsvetkov
62d58b4615
Unpack Skiko in native distributions
...
Resolves #546
4 years ago
Alexey Tsvetkov
b483ad4c22
Add preview support to Gradle plugin
4 years ago
Alexey Tsvetkov
f80456dd46
Refactor: move AbstractComposeDesktopTask
4 years ago
Alexey Tsvetkov
826f130b99
Set NSSupportsAutomaticGraphicsSwitching in native Mac distributions by default
...
Resolves #545
4 years ago
DetachHead
da8a6a44a0
error message for 32 bit arch ( #562 )
4 years ago