50 lines
1.2 KiB
Groovy
50 lines
1.2 KiB
Groovy
buildscript {
|
|
|
|
ext.min_sdk_version = 21
|
|
ext.target_sdk_version = 30
|
|
ext.compile_sdk_version = 30
|
|
|
|
ext.appcompat_version='1.3.0'
|
|
ext.lifecycle_version='2.3.1'
|
|
|
|
ext.kotlin_version = '1.5.0'
|
|
ext.kotlinx_coroutines_version = '1.5.0'
|
|
ext.anko_version='0.10.8'
|
|
|
|
ext.junit_version='4.13.2'
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.2.1'
|
|
classpath 'com.google.gms:google-services:4.3.8'
|
|
|
|
//noinspection DifferentKotlinGradleVersion
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
classpath "com.github.bjoernq:unmockplugin:0.7.6"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
maven { url 'https://maven.google.com' }
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
mavenCentral()
|
|
|
|
maven { url 'https://dl.bintray.com/google/exoplayer/' }
|
|
maven { url 'https://dl.bintray.com/google/flexbox-layout/' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|