SubwayTooter-Android-App/build.gradle

40 lines
1.1 KiB
Groovy

buildscript {
ext.min_sdk_version = 21
ext.target_sdk_version = 29
ext.appcompat_version='1.1.0'
ext.kotlin_version = '1.3.50'
ext.kotlinx_coroutines_version = '1.3.1'
ext.anko_version='0.10.8'
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.google.gms:google-services:4.2.0'
// com.google.gms:google-services:4.3.0 および 4.3.1 は警告を出す。
// API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// kotlin 1.3.0 を入れるとIDEがindex作成でエラーを繰り返し出すようになるので様子見する
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://maven.google.com' }
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}