Slackbot
02/15/2023, 2:50 PMVampire
02/15/2023, 2:59 PMstrictly there either in the long form or as !! suffix: https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-formatephemient
02/15/2023, 3:08 PMStylianos Gakis
02/15/2023, 3:10 PMversion = { strictly = "1.1.0-alpha06" } works perfectly fine! Couldn’t find a way to combine this with a version.ref, but not a big deal, it’s an exception anyway, won’t be doing this often. Thanks so much!
When you say “create own platform”, I am unfortunately not sure I understand what you mean. Something like making my own BOM locally, which brings in compose-bom + that specific version? Care to elaborate?ephemient
02/15/2023, 3:11 PM// platform/build.gradle.kts
plugins {
`java-platform`
}
javaPlatform {
allowDependencies()
}
dependencies {
api(platform(libs.androidx.compose.bom))
constraints {
api(libs.androidx.compose.material3)
}
}
then use platform(projects.platform) instead of platform(libs.compose.bom)Vampire
02/15/2023, 3:20 PMCouldn’t find a way to combine this with aIt's in the docs I linked you to. The rich version declaration is in theversion.ref
version section and you just use that in the version.ref as usual.Vampire
02/15/2023, 3:20 PMStylianos Gakis
02/16/2023, 12:18 PM