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
Nikolay Igotti
1999f58e75
Move to build 0.3.1.
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
Nikolay Igotti
c58018221e
Move to 0.3.0-rc1 ( #410 )
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
64fe5bc025
Gradle plugin. Replace 'androidx.compose' artifacts by 'org.jetbrains.compose' artifacts, get version from gradle properties
...
Fixes https://github.com/JetBrains/compose-jb/issues/272
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
Alexey Tsvetkov
6c7dc220b2
Use correct package name in Linux test
4 years ago
Alexey Tsvetkov
9fcf0735eb
Improve diagnosing problems with external tools
...
* Fix passing 'compose.desktop.verbose' to jlink/jpackage
* Save external tools logs to files in non-verbose mode
4 years ago
Alexey Tsvetkov
f7feef4cc6
Check notarization status without triggering new notarization upload
4 years ago
Alexey Tsvetkov
d758b6b476
Another try at fixing Linux tests
4 years ago
Alexey Tsvetkov
77387f3abb
Fix dependencies clash when packaging
...
Fixes #319
4 years ago
Alexey Tsvetkov
b8545e4d6f
Fix gradle plugin tests ( #350 )
...
* Fix uninitialized lateinit var property exceptions on Linux and Windows
lateinit property nonValidatedMacSigningSettings
was not initialized on Linux and Windows
* Revert reusing app image when creating installer
Previously there was a change to reuse an app image, when creating an installer.
So packaging would happen in two steps:
1. jpackage --type app-image ...
2. jpackage --type msi --app-image /path/to/app/image ...
This way a user could always conveniently inspect, what goes into an installer.
However, that change lead to bizzare crashes on Windows and Linux.
As a workaround, this change reverts reusing an app image,
when creating an installer.
* Fix args filtering when invoking jpackage
"app-image" args can also be used, when creating an installer
w/o predefined app image (e.g. w/o `--app-image ...` argument)
* Fix deb package name for tests on Linux
4 years ago
Alexey Tsvetkov
c243639042
Support simplified sign and notarization for macOS distribution in Gradle plugin ( #332 )
4 years ago
Alexey Tsvetkov
f627c0cc55
Use correct test scenario for uber jar tests
4 years ago
Alexey Tsvetkov
0d68dea6de
Filter out non-jar files in runtime classpath
...
WiX linker fails to find class files of inlined functions for some reason
(maybe because of '$' character in name or long paths)
Fixes #196
4 years ago
Alexey Tsvetkov
abb4a5a411
Avoid adding incompatible arguments when creating application image
...
Fixes https://github.com/JetBrains/compose-jb/issues/296
4 years ago
Alexey Tsvetkov
e6fb7463d0
Normalize all file properties on Windows
...
Previously the `--output` argument of the jlink task was not normalized.
https://github.com/JetBrains/compose-jb/issues/248
4 years ago