Hi im trying <k2-performance-metrics> for Android ...
# k2-adopters
m
Hi im trying k2-performance-metrics for Android project but it turns out Compose Android Project may not be supported yet. Is it correct ? Have anybody make the modification to adopt with the new Android Compose Compiler ?
t
what do you mea by Compose Android Project?
m
https://developer.android.com/jetpack/androidx/releases/compose-kotlin from Kotlin 2.0, compose compiler has been moved to Jetbrains repository which lead to a change in compose compiler plugin declaration. The old way should be like
Copy code
composeOptions {
        kotlinCompilerExtensionVersion = "1.5.14"
    }
But for K2, it would be like
Copy code
plugins {
    id("org.jetbrains.kotlin.plugin.compose") version "2.0.0" // this version matches your Kotlin version
}
So, suppose there should be equivalent logic for handling compose compiler dependency in the k2-performance-metrics, right ?
t
In this PR support for git checkout in scenarios was added - I suppose you could use it here to checkout revisions with different compose compiler apply approaches
🙌 1
m
Thanks 👍