Igor Demin
581b5f0b0a
Update Compose + Migrate to 0.5.0-build262 / Kotlin 1.5.21 ( #916 )
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
4 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.
4 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
4 years ago
Nikolay Igotti
2e82f1cc98
Add linux_arm64 target
4 years ago
Igor Demin
854de3681c
Publish components ( #829 )
4 years ago
Alexey Tsvetkov
2be46f961e
Implement first version of non-interactive preview for desktop ( #803 )
...
Implement first version of non-interactive preview for desktop
4 years ago
Nikolay Igotti
bf4f7051a2
Move to Kotlin 1.5.10 and Compose 0.4.0-rc1
4 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
Nikolay Igotti
7bdb87f20b
Move to Compose 0.4.0-build208 and Kotlin 1.5.0
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
8c8b4147ab
Update to 0.4.0-build182 and get rid of jcenter
...
The build `0.4.0-build182` upgrades
`kotlinx-collections-immutable` library
(which is used by the compose runtime) to 0.3.4,
which was published to maven central,
so most usages of sunsetting jcenter repo
can be removed now.
Resolves #557
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
Nikolay Igotti
76e3f45f8b
Move to Kotlin 1.4.32 and 0.4.0-build180
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
6dbe467abf
Split Maven artifact configuration and Gradle plugin configuration
...
This is needed to introduce non-Gradle plugin modules under gradle-plugins build for
Compose preview runtime.
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
b00aa7d5d3
Test Gradle plugin with Gradle 7.0
...
`withJava()` is removed from MPP test, because our tests don't contain Java,
but the latest stable version of Kotlin fails with exceptions,
when Gradle 7.0 is used. The issue is fixed in Kotlin's master:
297aa17b6e
4 years ago
Alexey Tsvetkov
4e673239a7
Split integration and unit Gradle plugin tests
...
Previously some tests (e.g. FileHashTest) were executed
multiple times in each test task.
This change splits tests in the following way:
* `testGradle-<VERSION>` task only runs `org.jetbrains.compose.gradle.*` tests
with the corresponding Gradle version;
* `test` runs all other tests once;
* `check` runs all tests and checks;
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
Nikolay Igotti
2f7f05babd
Move to 0.3.2.
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
32935c19a8
Upgrade max Gradle version for tests to 6.8.3 ( #437 )
4 years ago
Alexey Tsvetkov
d68cb7b68b
Test runDistributable with MPP project ( #436 )
4 years ago
Alexey Tsvetkov
7083376171
Fix runDistributable on Windows ( #435 )
...
Resolves #378
4 years ago
Nikolay Igotti
10e99c20d9
Move to 0.3.0.
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
Alexey Tsvetkov
ceaf3d3065
Enable verbose logging for tests
4 years ago