v0.6.0
Important release that adds advanced shrinking functionality!
Added
- support for shrinking artifacts with ProGuard and/or R8 (ProGuard is used as a default optimal choice)!
- auto-generate R8/ProGuard keep rules from
BinaryCompatibilityValidator
API reports! - support for replacing the original artifact with a shrunken one!
- highlight publication setup in logs.
- verify that publication artifact version is set.
- both WasmWasi and WasmJS can be used together since Kotlin 2.0.
- register
depsAll
task as a rememberable alias forallDeps
. - save and show the reason, why the project is in IDE sync mode.
- add Gradle file and I/O utils.
- add util methods for detached dependencies in Gradle.
- add
ExternalToolRunner
andAbstractExternalFluxoTask
for external tooling. - add
JvmFiles
andJvmFilesProvider
classes for easier universal JVM targets manupulations. - add compatibility method
TaskCollection<T>.named {}
for Gradle 8.6+ and older. - add minor improvements for
BinaryCompatibilityValidator
configuration safety.
Changed
- remove tests & checks from the
release
CI workflow. - remove explicit gradle plugin configuration, which isn't needed anymore.
- simplify logging, remove custom log markers completely.
Updated
- bump Kotlin from 1.9.21 to 1.9.22.
- pin OkHttp (4.12.0), Guava (33.0.0-jre), and Json (20231013) versions due to the Security Advisories.
- bump github/codeql-action from 2 to 3 by @dependabot in #23
- bump BuildConfig plugin from 5.1.0 to 5.3.2.
- bump Android Gradle Plugin from 8.2.0 to 8.4.0-alpha02 (compile-only dependency).
Fixed
- move
kotlinConfig
computed property to the project-level configuration extension from the root-level context. - remove MemoizedProvider incompatibility with Gradle 8.6, prevent crashes on future usage, but log the errors.
- correct apiDump/apiCheck tasks dependency and finalize API reports generation with keep rules generation.
- aligh
iosSimulatorArm64
parameter name with all others (action => configure). - correct default JS/WASM targets setup for Kotlin 2.0.
Full Changelog: v0.5.0...v0.6.0