Skip to content

Commit 2bdebe8

Browse files
author
masashi
committed
fix: point material3 at its own version line
material3 は compose-ui とは別のバージョン系列で、composeLibs(1.7.8)を流用すると存在しない material3:1.7.8 を要求して sample-app のクラスパスごと解決に失敗する。集約ビルド(android-sdk)の catalog と同じ 1.4.0 に合わせる。
1 parent 5b8f336 commit 2bdebe8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

gradle/libs.versions.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[versions]
22
composeLibs = "1.7.8"
3+
# material3 は compose-ui とは別のバージョン系列。composeLibs(ui 系)を流用すると
4+
# 存在しない material3:1.7.8 を要求してクラスパスごと解決に失敗する。
5+
material3 = "1.4.0"
36
agp = "9.2.1"
47
kotlin = "2.0.21"
58

@@ -29,7 +32,7 @@ mapbox-android = { module = "com.mapbox.maps:android-ndk27", version.ref = "mapb
2932

3033
# Sample app
3134
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
32-
androidx-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "composeLibs" }
35+
androidx-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }
3336
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = "composeLibs" }
3437

3538
# Test

0 commit comments

Comments
 (0)