SubwayTooter-Android-App/build.gradle

43 lines
1.1 KiB
Groovy
Raw Normal View History

2017-04-20 18:23:59 +02:00
buildscript {
2018-09-12 07:55:15 +02:00
ext.min_sdk_version = 21
ext.target_sdk_version = 28
2019-02-15 02:51:22 +01:00
ext.androidx_version= '1.0.0'
ext.appcompat_version='1.0.2'
ext.kotlin_version = '1.3.41'
ext.kotlinx_coroutines_version = '1.2.2'
2018-12-01 00:02:18 +01:00
ext.anko_version='0.10.8'
2017-04-20 18:23:59 +02:00
repositories {
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 {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.google.gms:google-services:4.2.0'
// com.google.gms:google-services:4.3.0 は
// 警告 API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
// を出す。
2018-05-06 10:09:18 +02:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// kotlin 1.3.0 を入れるとIDEがindex作成でエラーを繰り返し出すようになるので様子見する
2017-04-20 18:23:59 +02:00
}
}
allprojects {
repositories {
google()
2017-04-20 18:23:59 +02:00
jcenter()
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
}