louiscad
01/28/2024, 3:36 PMandroidx-compose-material = { group = "androidx.wear.compose", name = "compose-material", version.ref = "composeMaterial" }
androidx-compose-foundation = { group = "androidx.wear.compose", name = "compose-foundation", version.ref = "composeFoundation" }
Ankit
01/30/2024, 3:45 PMlouiscad
01/30/2024, 3:47 PMlouiscad
02/01/2024, 10:08 AMandroidx-ui = { group = "androidx.compose.ui", name = "ui" }
androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
Here, compose is not even mentioned.
I'd expect those keys instead:
androidx-compose-ui = { group = "androidx.compose.ui", name = "ui" }
androidx-compose-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
androidx-compose-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
androidx-test-ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
I think the problem is that it takes only the first part of the group, while it should take all of it, minus the start if it's a well-known TLD (org.
, com.
, net.
, io.
, app.
), and should only ditch words that are duplicated in the artifact name (e.g. android.fragment:fragment-ktx
should have the key androidx-fragment
rather than androidx-fragment-fragment
.louiscad
02/01/2024, 10:09 AMandroidx
was omitted, BTW, not sure what you think, but either way, it'd be better than the current situation.louiscad
03/28/2024, 11:04 AMandroidx-ui = { group = "androidx.compose.ui", name = "ui" }
Ankit
03/28/2024, 1:16 PM