mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-01-10 08:25:17 +01:00
19c4eeec3d
Android gradle plugin 3.5.0 gradle-5.4.1 kotlin 1.3.50 kotlinx_coroutines 1.3.0 firebase-core:17.1.0 firebase-messaging:20.0.0 okhttp:4.1.0 okhttp-urlconnection:4.1.0
43 lines
1.2 KiB
Groovy
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
|
|
}
|