Roman Sedaikin
1dad836e97
Fixed code/text
4 years ago
Roman Sedaikin
9f7251dfca
Fix typo
4 years ago
Roman Sedaikin
f329a2892b
Added tutorial on Swing integration.
4 years ago
Igor Demin
6e1d965931
Codeviewer: refactoring
4 years ago
Nikolay Igotti
5bc530e20d
Update CHANGELOG.md
4 years ago
Nikolay Igotti
4621dcd04f
Update CHANGELOG.md
4 years ago
Nikolay Igotti
196a260b2a
CHANGELOG.md
4 years ago
Alexey Tsvetkov
3e74b43cc6
Use Kotlin 1.4.0 in Gradle tests
4 years ago
Alexey Tsvetkov
2e1266984e
Allow running Gradle tests with any JDK >= 14
4 years ago
Alexey Tsvetkov
215e9d66bc
Mention compatible Gradle versions in docs
4 years ago
Alexey Tsvetkov
6991b4f5de
Include min task version in all checks
4 years ago
Alexey Tsvetkov
b601ed9693
Print Gradle version used in tests
...
Also switch to JUnit 5, because the feature is not supported by JUnit 4
4 years ago
Alexey Tsvetkov
fbc51e4019
Test plugin against multiple versions of Gradle
4 years ago
Alexey Tsvetkov
f46a39cd6a
Add Gradle plugin integration tests
4 years ago
Arkadii Ivanov
1b294335a9
Update Decompose to 0.1.1, remove copy-pasted code ( #102 )
...
Co-authored-by: Arkadii Ivanov <>
4 years ago
Alexey Tsvetkov
bef34ad7d2
Add compose Gradle extension to dependency blocks
...
Before this change, the following Groovy DSL code would not work:
```
dependency {
implementation compose.desktop.currentOS
}
// or
kotlin {
jvm { withJava() }
sourceSets {
named("jvmMain") {
dependencies {
implementation(compose.desktop.currentOs)
}
}
}
}
```
4 years ago
Alexey Tsvetkov
ad0b6fc916
Provide default value for Compose version for Gradle plugin
...
There are two versions used in the Gradle plugin:
* The version of the plugin itself;
* The version of Compose dependency used by the plugin.
On CI both versions are set to the same value specific to the build.
However, locally using 0.1.0-SNAPSHOT for the Compose version is inconvenient,
because we don't publish 0.1.0-SNAPSHOT anywhere.
Even if it existed, a moving version is not convenient for using in tests.
This commit changes version handling:
* The version of Compose is set via `compose.version` Gradle property
to the latest stable version, unless overridden by
`COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION` env. var.
* The version of the plugin is set via `deploy.version`
Gradle property to 0.1.0-SNAPSHOT,
unless overridden by `COMPOSE_GRADLE_PLUGIN_VERSION` env. var
4 years ago
Alexey Tsvetkov
c105e3a8eb
Change marker comment for Compose version
...
The verb `update` in `__UPDATE_COMPOSE_VERSION_MARKER__`
could be read as an instruction to update the plugin,
which might be confusing for users.
I suggest renaming the marker to more neutral
`__LATEST_COMPOSE_RELEASE_VERSION__`
4 years ago
Roman Sedaikin
f030439571
Added screenshots for examples.
4 years ago
Igor Demin
5c00195547
Merge pull request #88 from JetBrains/todo_fix
...
Regression in Todo example app after multiple Compose updates
4 years ago
Igor Demin
28935cfe87
Todo example, refactoring
4 years ago
Igor Demin
86a5977c9b
Regression in Todo example app after multiple Compose updates
...
Closes https://github.com/JetBrains/compose-jb/issues/86
4 years ago
Andrew Rudenko
60ac4a7ab1
initialize benchmarks ( #77 )
4 years ago
Arkadii Ivanov
5ebc5e1f5c
Updated Decompose to 0.1.0 in Todo example ( #78 )
...
Co-authored-by: Arkadii Ivanov <>
4 years ago
Malachi de AElfweald
362f6ec8b2
Native Distribution tutorial corrections ( #72 )
4 years ago
Freek de Bruijn
d29feef8ad
Update README.md ( #71 )
4 years ago
Nikolay Igotti
aa2a8740ca
Update to 0.1.0-build113
4 years ago
Nikolay Igotti
ffc8b7c63a
Update README.md
4 years ago
Alexey Tsvetkov
455814b9d3
Fix compile error
...
For some reason, the compiler failed to resolve the method reference correctly.
Also minor fix for `executable` property (the code was red in IDE, but compiled).
4 years ago
Eliezer Graber
56da868a05
Fix a crash when building using Gradle 6.6+
4 years ago
Nikolay Igotti
1726014417
Update FEATURES.md
4 years ago
Igor Demin
0f51c74f49
Merge pull request #68 from CeH9/patch-1
...
Fix import (deprecated *.Text)
4 years ago
CeH9
99710a42b8
Fix import (deprecated *.Text)
...
Fix import according to deprecation warning
4 years ago
Nikolay Igotti
6ea3fca296
Link
4 years ago
Nikolay Igotti
4ea130ba42
Updated screenshot.
4 years ago
Igor Demin
e9c45ecd69
Replace AppWindow by Window ( #52 )
4 years ago
Igor Demin
3f31864f34
Imageviewer. Fix "./gradlew build"
4 years ago
Sebastian Aigner
0723177aad
Reorganize source sets to work around red code resolution errors. ( #50 )
...
Co-authored-by: Sebastian Aigner <sebastian.aigner@jetbrains.com>
4 years ago
Sebastian Aigner
33b041c31a
ImageViewer: Use Ktor and expect/actual to make common source set pure Kotlin ( #51 )
...
* Add IDE resolution warning for examples sharing JVM & Android code.
* Use Ktor to remove JVM-specific networking code from common source set
Fix resolution for Picture class via expect/actual mechanism
Co-authored-by: Sebastian Aigner <sebastian.aigner@jetbrains.com>
4 years ago
Sebastian Aigner
c151746e53
Add IDE resolution warning for examples sharing JVM & Android code. ( #49 )
...
Co-authored-by: Sebastian Aigner <sebastian.aigner@jetbrains.com>
4 years ago
Nikolay Igotti
48e7a6c2c0
Getting started tutorial update.
4 years ago
Igor Demin
5201b36fc5
Migrate "issues" to Compose 0.1.0-m1-build62
4 years ago
Igor Demin
3b583678c7
Migrate to Compose 0.1.0-m1-build62
4 years ago
Arkadii Ivanov
05303f947d
Add scrollbar to Todo example ( #41 )
4 years ago
Igor Demin
6f6577a1ee
Merge pull request #45 from JetBrains/application-plugin-fixes
...
Application plugin fixes
4 years ago
Igor Demin
3799ca1f16
Fix typos
4 years ago
Nikolay Igotti
9f4a55a6f4
Features file.
4 years ago
Nikolay Igotti
2098410805
Update icons.
4 years ago
Alexey Tsvetkov
314f5af47f
Update all examples with Compose Application DSL
4 years ago
Alexey Tsvetkov
332d57ae33
Allow overriding COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION via Gradle property
...
Gradle properties are more convenient for local builds
4 years ago