Skip to content

Commit e0e6f1b

Browse files
authored
Force Skiko to 0.8.17 (#665)
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.
1 parent 4313d24 commit e0e6f1b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle.kts

+14
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ dependencies {
2222
sarif(projects.ui)
2323
}
2424

25+
// TODO remove this once the Skiko fix makes it into CMP 1.7.1
26+
allprojects {
27+
configurations.all {
28+
resolutionStrategy {
29+
eachDependency {
30+
if (requested.group == "org.jetbrains.skiko") {
31+
useVersion("0.8.17")
32+
because("Contains important memory usage fix")
33+
}
34+
}
35+
}
36+
}
37+
}
38+
2539
tasks {
2640
// val mergeSarifReports by
2741
// registering(MergeSarifTask::class) {

0 commit comments

Comments
 (0)