Rohit Verma
04/08/2025, 12:16 PMcompose.uiTest
or compose.desktop.currentOs
.
Any ideas how to do that??
commonTest.dependencies {
@OptIn(ExperimentalComposeLibrary::class)
implementation(compose.uiTest)
}
desktopTest.dependencies {
implementation(compose.desktop.currentOs)
}
Vampire
04/08/2025, 12:23 PMcompose
where those are defined?Rohit Verma
04/08/2025, 12:27 PMcompose.uiTest
is directly referenced from the build.gradle.kts
file. I found that here in this documentation
I just need to know the complete dependency string to which compose.uiTest is referring to.Vampire
04/08/2025, 12:29 PMVampire
04/08/2025, 12:30 PMRohit Verma
04/08/2025, 12:30 PMVampire
04/08/2025, 12:32 PMRohit Verma
04/08/2025, 12:33 PMVampire
04/08/2025, 12:33 PMephemient
04/08/2025, 12:34 PMcompose
extension and provides those accessorsRohit Verma
04/08/2025, 12:35 PMephemient
04/08/2025, 12:35 PMRohit Verma
04/08/2025, 12:36 PMephemient
04/08/2025, 12:36 PMRohit Verma
04/08/2025, 12:37 PMVampire
04/08/2025, 12:37 PMVampire
04/08/2025, 12:37 PM@NotNull
public final String getRuntime() {
return ComposePluginKt.access$composeDependency("org.jetbrains.compose.runtime:runtime");
}
@NotNull
public final String getRuntimeSaveable() {
return ComposePluginKt.access$composeDependency("org.jetbrains.compose.runtime:runtime-saveable");
}
...Rohit Verma
04/08/2025, 12:42 PMPHondogo
04/10/2025, 5:02 AMephemient
04/10/2025, 5:15 AMval compose: ComposeExtension by project.extensions
compose.dependencies.…
is what I would do but that works