回答編集履歴

1

build.gradle.kts の一部 (dependencies) だけ参考に追加 (文字数オーバー...)

2024/02/20 12:08

投稿

jimbe
jimbe

スコア12692

test CHANGED
@@ -154,3 +154,26 @@
154
154
  2024-02-20 20:57:25.134 30630-30630 chatty com.teratail.q_minbpx5ux7ywho I uid=10146(com.teratail.q_minbpx5ux7ywho) identical 1 line
155
155
  2024-02-20 20:57:25.141 30630-30630 <no-tag> com.teratail.q_minbpx5ux7ywho D きているのかMutableState(value=[CardData(id=02d7dce8-a760-4d7a-bc98-704ccb021fe2, isParent=true, childId=null, alarmTime=20:57:23.150, switchValue=false), CardData(id=5d603422-afe5-4bcb-a5bb-c1323a758bb9, isParent=true, childId=null, alarmTime=20:57:24.455, switchValue=false), CardData(id=5756002d-d8a9-4c32-bd4c-a1487ee8079b, isParent=true, childId=null, alarmTime=20:57:25.112, switchValue=false)])@17520182
156
156
  ```
157
+
158
+ 参考:
159
+ build.gradle.kts(:app) - dependencies
160
+ ```
161
+ dependencies {
162
+ implementation("androidx.core:core-ktx:1.12.0")
163
+ implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
164
+ implementation("androidx.activity:activity-compose:1.8.2")
165
+ implementation(platform("androidx.compose:compose-bom:2023.08.00"))
166
+ implementation("androidx.compose.ui:ui")
167
+ implementation("androidx.compose.ui:ui-graphics")
168
+ implementation("androidx.compose.ui:ui-tooling-preview")
169
+ implementation("androidx.compose.material3:material3")
170
+ implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0")
171
+ testImplementation("junit:junit:4.13.2")
172
+ androidTestImplementation("androidx.test.ext:junit:1.1.5")
173
+ androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
174
+ androidTestImplementation(platform("androidx.compose:compose-bom:2023.08.00"))
175
+ androidTestImplementation("androidx.compose.ui:ui-test-junit4")
176
+ debugImplementation("androidx.compose.ui:ui-tooling")
177
+ debugImplementation("androidx.compose.ui:ui-test-manifest")
178
+ }
179
+ ```