質問編集履歴
1
dependenciesを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -103,3 +103,41 @@
|
|
103
103
|
}
|
104
104
|
|
105
105
|
```
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
```
|
110
|
+
|
111
|
+
//build.gradle(:app)
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
dependencies {
|
116
|
+
|
117
|
+
implementation fileTree(dir: "libs", include: ["*.jar"])
|
118
|
+
|
119
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
120
|
+
|
121
|
+
implementation 'androidx.core:core-ktx:1.6.0'
|
122
|
+
|
123
|
+
implementation 'androidx.appcompat:appcompat:1.3.0'
|
124
|
+
|
125
|
+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
126
|
+
|
127
|
+
testImplementation 'junit:junit:4.12'
|
128
|
+
|
129
|
+
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
130
|
+
|
131
|
+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
def archComponents_version = '2.0.0-beta01'
|
136
|
+
|
137
|
+
implementation "androidx.lifecycle:lifecycle-extensions:$archComponents_version"
|
138
|
+
|
139
|
+
kapt "androidx.lifecycle:lifecycle-compiler:$archComponents_version"
|
140
|
+
|
141
|
+
}
|
142
|
+
|
143
|
+
```
|