2017-04-20 18:23:59 +02:00
|
|
|
buildscript {
|
2017-11-04 15:51:15 +01:00
|
|
|
|
2018-09-12 07:55:15 +02:00
|
|
|
ext.min_sdk_version = 21
|
2019-08-31 16:33:13 +02:00
|
|
|
ext.target_sdk_version = 29
|
2019-02-15 02:51:22 +01:00
|
|
|
ext.androidx_version= '1.0.0'
|
2019-09-12 15:43:11 +02:00
|
|
|
ext.appcompat_version='1.1.0'
|
2018-09-27 16:21:37 +02:00
|
|
|
|
2019-08-24 05:35:22 +02:00
|
|
|
ext.kotlin_version = '1.3.50'
|
|
|
|
ext.kotlinx_coroutines_version = '1.3.0'
|
2018-12-01 00:02:18 +01:00
|
|
|
ext.anko_version='0.10.8'
|
2017-11-04 15:51:15 +01:00
|
|
|
|
2017-04-20 18:23:59 +02:00
|
|
|
repositories {
|
2018-09-27 16:21:37 +02:00
|
|
|
google()
|
2017-04-20 18:23:59 +02:00
|
|
|
jcenter()
|
2017-04-23 07:42:09 +02:00
|
|
|
mavenCentral()
|
2017-04-20 18:23:59 +02:00
|
|
|
}
|
2018-09-12 07:55:15 +02:00
|
|
|
|
2017-04-20 18:23:59 +02:00
|
|
|
dependencies {
|
2019-08-24 05:35:22 +02:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
2019-02-13 08:45:05 +01:00
|
|
|
classpath 'com.google.gms:google-services:4.2.0'
|
2019-08-24 05:35:22 +02:00
|
|
|
// com.google.gms:google-services:4.3.0 および 4.3.1 は
|
2019-07-12 06:38:19 +02:00
|
|
|
// 警告 API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
|
|
|
|
// を出す。
|
|
|
|
|
2018-05-06 10:09:18 +02:00
|
|
|
|
2017-11-04 15:51:15 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2018-11-11 11:43:20 +01:00
|
|
|
// kotlin 1.3.0 を入れるとIDEがindex作成でエラーを繰り返し出すようになるので様子見する
|
2017-04-20 18:23:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2018-09-27 16:21:37 +02:00
|
|
|
google()
|
2017-04-20 18:23:59 +02:00
|
|
|
jcenter()
|
2017-08-24 13:44:06 +02:00
|
|
|
maven { url 'https://maven.google.com' }
|
|
|
|
maven { url 'https://jitpack.io' }
|
2017-04-20 18:23:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|