- Java: 18 (I use azul-18.0.2.1)
- IntelliJ IDEA (always latest stable)
- Valkyrie plugin
- Gradle zip. Path must match
distributionUrl
specified in/gradle/wrapper/gradle-wrapper.properties
- Open this project in IntelliJ IDEA
- Choose and run any configuration
Tip: Open this file in IntelliJ IDEA and use green play buttons within this document.
Modify buildType
parameter to choose different build properties (debug by default).
Command | Description |
---|---|
gradlew run |
Run the app |
gradlew run -PbuildType=release |
Run the app. Release properties, no proguard |
gradlew wasmJsBrowserRun |
Run demo app in browser |
gradlew wasmJsBrowserDistribution -PbuildType=release |
Build demo app. Release properties. Clear cache if you see white screen in browser |
gradlew cleanDesktopTest desktopTest |
Run tests using desktop as platform |
gradlew packageReleaseDistributionForCurrentOS |
Package and minify the app for your OS. Debug properties |
gradlew packageReleaseDistributionForCurrentOS -PbuildType=release |
Package and minify the app for your OS. Release properties |
gradlew generateResourceAccessorsForCommonMain |
Update resource accessors. Avoid building whole project, when modifying strings.xml |
gradlew generateLicenseReport |
Update third-party.html file. This file is included in distribution |
gradlew detekt |
Check code quality |
- Copy
debug.properties
- Rename to something else, for example
myConfig.properties
- Modify properties how you want
- Run
gradlew run -PbuildType=myConfig
Replace myConfig
with anything
See: README.md in CI folder.
Where app data will be stored. Absolute and relative paths are supported. Leave empty to use user.dir
true
- will move files to system trash (platform dependent)false
- doesn't move anything (faked with delay)
Minimum (inclusive) message severity that will be logged (maps to Kermit's Severity levels):
level | value |
---|---|
0 | Verbose |
1 | Debug |
2 | Info |
3 | Warn |
4 | Error |
5 | Assert |
true
- will write logs to./logs
folder incustomDataFolder
and consolefalse
- will print logs to console only
Can't be overridden in packaged executables.
true
- will attach console in distributable runfalse
- won't attach console in distributable run
Properties used in build are overridden by arguments passed to executable.
Example:
If the app was packaged with realDelete = false
, pass --realDelete true
to executable to override it.