Alexey Tsvetkov
3aff8f47e3
Add ability to create/run distributable app
4 years ago
Alexey Tsvetkov
d4e423e98f
Implement packaging uber jar for current OS ( #145 )
4 years ago
Alexey Tsvetkov
a71e6b6378
Add OS arch to plugin provided dependencies ( #113 )
...
* Add OS arch to plugin provided dependencies
* Delete DesktopDependencies#all
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
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
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
Alexey Tsvetkov
332d57ae33
Allow overriding COMPOSE_GRADLE_PLUGIN_COMPOSE_VERSION via Gradle property
...
Gradle properties are more convenient for local builds
4 years ago
Alexey Tsvetkov
37cc9665c1
Log distribution output path
4 years ago
Alexey Tsvetkov
3b7835fb4a
Merge compose.desktop.application plugin with compose plugin
...
This change removes `org.jetbrains.compose.desktop.application` plugin id
in favor of doing everything in `org.jetbrains.compose`.
The change simplifies configuring Compose Desktop projects.
Now, just one plugin dependency is needed.
To avoid task name conflicts with common task names such as `package` and `run`,
the plugin creates tasks lazily only if `application` block/property is used in a script.
4 years ago
Alexey Tsvetkov
518aa7fc81
Rename JetPack -> JetBrains
4 years ago
Alexey Tsvetkov
2451d79d06
Remove unnecessary META_INF/gradle-plugins/*.properties files
...
That's already handled by java-gradle-plugin configuration
(a plugin for Gradle plugin development)
4 years ago
Alexey Tsvetkov
a8e34eddad
Refactor gradle-plugin build configuration to allow other plugins
...
So other plugins can be added to separate subprojects
4 years ago