SubwayTooter-Android-App/build.gradle

56 lines
1.4 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 = 30
ext.compile_sdk_version = 30
ext.appcompat_version='1.3.0'
ext.lifecycle_version='2.3.1'
2021-06-28 15:02:46 +02:00
ext.kotlin_version = '1.5.20'
ext.kotlinx_coroutines_version = '1.5.0'
2018-12-01 00:02:18 +01:00
ext.anko_version='0.10.8'
ext.junit_version='4.13.2'
ext.detekt_version='1.18.0'
2021-06-20 05:02:30 +02:00
2017-04-20 18:23:59 +02:00
repositories {
google()
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:4.2.2'
classpath 'com.google.gms:google-services:4.3.10'
2018-05-06 10:09:18 +02:00
//noinspection DifferentKotlinGradleVersion
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2019-10-06 22:46:56 +02:00
classpath "com.github.bjoernq:unmockplugin:0.7.6"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
2021-06-20 05:02:30 +02:00
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detekt_version"
2017-04-20 18:23:59 +02:00
}
}
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/' }
2021-06-20 05:02:30 +02:00
maven { url "https://plugins.gradle.org/m2/" } // detekt
2017-04-20 18:23:59 +02:00
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}