質問編集履歴
1
gradle全文
test
CHANGED
File without changes
|
test
CHANGED
@@ -258,10 +258,86 @@
|
|
258
258
|
|
259
259
|
|
260
260
|
|
261
|
+
apply plugin: 'com.android.application'
|
262
|
+
|
263
|
+
apply plugin: 'kotlin-android'
|
264
|
+
|
265
|
+
apply plugin: 'kotlin-android-extensions'
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
android {
|
270
|
+
|
271
|
+
compileSdkVersion 27
|
272
|
+
|
273
|
+
defaultConfig {
|
274
|
+
|
275
|
+
applicationId "jp.aftech.myapplication"
|
276
|
+
|
277
|
+
minSdkVersion 21
|
278
|
+
|
279
|
+
targetSdkVersion 27
|
280
|
+
|
281
|
+
versionCode 1
|
282
|
+
|
283
|
+
versionName "1.0"
|
284
|
+
|
285
|
+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
286
|
+
|
287
|
+
}
|
288
|
+
|
289
|
+
buildTypes {
|
290
|
+
|
291
|
+
release {
|
292
|
+
|
293
|
+
minifyEnabled false
|
294
|
+
|
295
|
+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
296
|
+
|
297
|
+
}
|
298
|
+
|
299
|
+
}
|
300
|
+
|
301
|
+
}
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
dependencies {
|
306
|
+
|
307
|
+
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
308
|
+
|
309
|
+
implementation 'com.android.support:appcompat-v7:27.1.1'
|
310
|
+
|
311
|
+
implementation 'com.android.support:design:27.1.1'
|
312
|
+
|
313
|
+
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
|
314
|
+
|
315
|
+
implementation 'com.android.support:support-v4:27.1.1'
|
316
|
+
|
317
|
+
testImplementation 'junit:junit:4.12'
|
318
|
+
|
319
|
+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
320
|
+
|
321
|
+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
322
|
+
|
323
|
+
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
324
|
+
|
261
325
|
implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
262
326
|
|
263
327
|
|
264
328
|
|
329
|
+
}
|
330
|
+
|
331
|
+
repositories {
|
332
|
+
|
333
|
+
mavenCentral()
|
334
|
+
|
335
|
+
}
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
265
341
|
```
|
266
342
|
|
267
343
|
|