1
+ /*
2
+ * Copyright 2023 The Android Open Source Project
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ plugins {
17
+ alias(libs.plugins.android.library)
18
+ alias(libs.plugins.kotlin.android)
19
+ alias(libs.plugins.kapt)
20
+ alias(libs.plugins.hilt)
21
+ }
22
+
23
+ android {
24
+ namespace = " com.example.android.architecture.blueprints.todoapp.shared.test"
25
+ compileSdk = libs.versions.compileSdk.get().toInt()
26
+ defaultConfig {
27
+ minSdk = libs.versions.minSdk.get().toInt()
28
+ }
29
+ }
30
+
31
+ dependencies {
32
+ implementation(project(" :app" ))
33
+ implementation(libs.kotlinx.coroutines.android)
34
+ implementation(libs.kotlinx.coroutines.test)
35
+ implementation(libs.junit4)
36
+ implementation(libs.androidx.test.core.ktx)
37
+ implementation(libs.androidx.test.ext)
38
+ implementation(libs.androidx.test.rules)
39
+ implementation(libs.hilt.android.core)
40
+ implementation(libs.hilt.android.testing)
41
+ kapt(libs.hilt.compiler)
42
+
43
+ // Room
44
+ implementation(libs.room.runtime)
45
+ implementation(libs.room.ktx)
46
+ kapt(libs.room.compiler)
47
+ }
0 commit comments