Skip to content

Commit

Permalink
Force Skiko to 0.8.17 (#665)
Browse files Browse the repository at this point in the history
This Skiko version contains an important fix for memory usage. It is
more recent than the version used by CMP 1.7.0 (0.8.15), but the CMP
team assured us it is a binary-compatible change.

As a result you should see greatly decreased memory usage and GC
pressure in most scenarios, except when the ComposePanel size changes.
That is a more complex fix which will require a number of changes across
JBR and Compose, and will come in time.
  • Loading branch information
rock3r authored Oct 25, 2024
1 parent 4313d24 commit e0e6f1b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ dependencies {
sarif(projects.ui)
}

// TODO remove this once the Skiko fix makes it into CMP 1.7.1
allprojects {
configurations.all {
resolutionStrategy {
eachDependency {
if (requested.group == "org.jetbrains.skiko") {
useVersion("0.8.17")
because("Contains important memory usage fix")
}
}
}
}
}

tasks {
// val mergeSarifReports by
// registering(MergeSarifTask::class) {
Expand Down

0 comments on commit e0e6f1b

Please sign in to comment.