Upgrading com.squareup.okio:okio 2 to 3
Breaking2.10.0 → 3.18.2Breaking2New15Changed7Fixed20Other1
Fetching 39 releases from GitHub…19 / 39
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- The clock setting on FakeFileSystem is now a property instead of a field. This stops a crash when Okio runs inside a Gradle 8.x plugin, but code compiled against the old field must be recompiled.
- If your project uses the fake filesystem testing artifact, this update changes an underlying library in a way that is not compatible with older versions. You may need to recompile code that uses it.
Must act 2 items need code or config changes
Adds com.squareup.okio:okio-jvm 3.18.2.
Drops org.jetbrains.kotlin:kotlin-stdlib, org.jetbrains.kotlin:kotlin-stdlib-common.
Moves org.jetbrains.kotlin:kotlin-stdlib 1.4.20 → 2.1.21. Your build may pick other versions.
What you must change
Breaking2
Changes FakeFileSystem.clock from a JVM field to a property, avoiding a crash in Gradle 8.x plugins; not binary-compatible.
FakeFileSystem.clockUpgrades kotlinx-datetime to 0.7.0 in okio-fakefilesystem, a binary-incompatible change that cannot co-exist with previous releases.
FakeFileSystem.initokio-fakefilesystem