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
3 years ago
Alexey Tsvetkov
1040af337b
Customize Info.plist before jpackage
...
Resolves #679
3 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
3 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
3 years ago
Nikolay Igotti
6e3677e450
Fix typo.
3 years ago
Harsh Shandilya
c1aa3a33ca
gradle-plugins/compose: Don't eagerly evaluate web platform
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
3 years ago
Alexey Tsvetkov
7a47ba8dd8
Support Kotlin JS targets in Compose Gradle plugin
3 years ago
Alexey Tsvetkov
d1908bb41a
Re-sign app after patching Info.plist
...
Resolves #602
3 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
Alexey Tsvetkov
938f581a3d
Update copyright notices
4 years ago
Alexey Tsvetkov
dc428d3a22
Add suggestRuntimeModules task
...
Resolves #463
4 years ago
Tad Fisher
b9c2f080d9
Fix task validation errors
4 years ago
Alexey Tsvetkov
76cccb93b9
Don't apply Compose compiler plugin to JS and Native compilations
...
Resolves #352
The fix resolves the issue only for Kotlin compiler builds the following commit:
d023f09bd4
See also https://youtrack.jetbrains.com/issue/KT-45020
4 years ago
Alexey Tsvetkov
ceab5f0979
Escape launcher arguments and JVM arguments with extra quotes
...
Resolves #465
4 years ago
Alexey Tsvetkov
0314bc4b80
Provide default icon for native distributions
...
Resolves #274
4 years ago
Alexey Tsvetkov
2fac821f99
Allow including all runtime modules
4 years ago
Alexey Tsvetkov
a99b3eaa83
Require JDK 15+ for creating native distributions
...
Resolves #428
4 years ago
Alexey Tsvetkov
30f2934c67
Avoid duplicated logging to file
...
FilterOutputStream#(ByteArray) delegates to #write(Int)
4 years ago
Alexey Tsvetkov
40f4ad0fa0
Set dock and menu names on macOS ( #433 )
...
Resolves #246
4 years ago
Alexey Tsvetkov
2d3a9a20f4
Platform specific customization ( #434 )
...
* Provide ability to customize installation path
#314
* Document platform specific options
4 years ago
Alexey Tsvetkov
7083376171
Fix runDistributable on Windows ( #435 )
...
Resolves #378
4 years ago
Alexey Tsvetkov
ff8de6a830
Print notarization status ( #406 )
...
* Always write external tool output logs to files
Previous implementation always passed an empty string to `processStdout`,
when verbose mode was used.
* Print notarization status in non-verbose mode too
4 years ago
Alexey Tsvetkov
0dd5d7fd46
Validate versions for native distributables ( #405 )
...
Resolves #91 , resolves #205 , resolves #341 , resolves #393
4 years ago
Alexey Tsvetkov
c8a8a462aa
Include java.logging module by default ( #402 )
...
It is probably frequently needed and relatively small
(the inclusion increases final app size by ~200 kb),
so it can be included by default
Fixes #401
4 years ago
Igor Demin
48b52e459a
Gradle plugin. Replace 'androidx.compose' artifacts by 'org.jetbrains.compose' artifacts.
...
Fixes https://github.com/JetBrains/compose-jb/issues/272
4 years ago