CLOVIS
03/18/2023, 1:27 PMkotlin {
jvm()
android()
sourceSets {
val androidMain by getting {
dependencies {
implementation(platform(libs.androidx.compose.bom)) // Unresolved reference: platform
implementation(libs.androidx.compose.material3)
}
}
}
}
ephemient
03/18/2023, 1:30 PMephemient
03/18/2023, 1:31 PMdependencies {
"androidMainImplementation"(platform(...))
}
CLOVIS
03/18/2023, 1:31 PMCLOVIS
03/18/2023, 1:32 PMAdam S
03/18/2023, 1:32 PMimplementation(project.dependencies.platform(libs.androidx.compose.bom))
CLOVIS
03/18/2023, 1:33 PMCLOVIS
03/18/2023, 1:33 PMe: java.lang.Error: Something went wrong while checking for version compatibility between the Compose Compiler and the Kotlin Compiler. It is possible that the versions are incompatible.
though (did not touch the versions)ephemient
03/18/2023, 1:35 PMCLOVIS
03/18/2023, 1:36 PMCLOVIS
03/18/2023, 1:36 PMephemient
03/18/2023, 1:38 PM./gradlew dependencies --configuration androidMainCompileClasspath
and see if the bom constraints appearCLOVIS
03/18/2023, 1:40 PMConfiguration 'androidMainCompileClasspath' not found in configuration container.
🤔CLOVIS
03/18/2023, 1:40 PMephemient
03/18/2023, 1:42 PMdependencies {
implementation(platform(...))
CLOVIS
03/18/2023, 1:42 PMreleaseCompileClasspath - Resolved configuration for compilation for variant: release
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.7.20
| | \--- org.jetbrains:annotations:13.0
| \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.20
| \--- org.jetbrains.kotlin:kotlin-stdlib:1.7.20 (*)
+--- androidx.compose:compose-bom:2023.01.00
| +--- androidx.compose.material3:material3:1.0.1 (c)
| +--- androidx.compose.material3:material3-window-size-class:1.0.1 (c)
| +--- androidx.compose.foundation:foundation:1.3.1 (c)
| +--- androidx.compose.material:material-icons-core:1.3.1 (c)
| +--- androidx.compose.material:material-ripple:1.3.1 (c)
| +--- androidx.compose.runtime:runtime:1.3.3 (c)
| +--- androidx.compose.ui:ui:1.3.3 (c)
| +--- androidx.compose.ui:ui-graphics:1.3.3 (c)
| +--- androidx.compose.ui:ui-text:1.3.3 (c)
| +--- androidx.compose.ui:ui-unit:1.3.3 (c)
| +--- androidx.compose.animation:animation:1.3.3 (c)
| +--- androidx.compose.runtime:runtime-saveable:1.3.3 (c)
| +--- androidx.compose.ui:ui-geometry:1.3.3 (c)
| +--- androidx.compose.animation:animation-core:1.3.3 (c)
| \--- androidx.compose.foundation:foundation-layout:1.3.1 (c)
CLOVIS
03/18/2023, 1:42 PMephemient
03/18/2023, 1:42 PMCLOVIS
03/18/2023, 1:43 PMephemient
03/18/2023, 1:44 PMephemient
03/18/2023, 1:44 PMAdam S
03/18/2023, 1:48 PMCLOVIS
03/18/2023, 1:50 PMcompose-jb
plugin 1.2.1, if that helps