SubwayTooter-Android-App/build.gradle

43 lines
1.2 KiB
Groovy

buildscript {
ext.min_sdk_version = 21
ext.target_sdk_version = 28
ext.androidx_version= '1.0.0'
ext.appcompat_version='1.0.2'
ext.kotlin_version = '1.3.50'
ext.kotlinx_coroutines_version = '1.3.0'
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
}