2019-11-10 21:07:38 +00:00
|
|
|
apply from: "gradle/dependencies.gradle"
|
|
|
|
|
2019-04-02 05:50:26 +00:00
|
|
|
buildscript {
|
2020-01-19 21:51:10 +00:00
|
|
|
ext.kotlin_version = '1.3.61'
|
2019-04-02 05:50:26 +00:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2019-11-19 10:52:55 +00:00
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
2019-12-01 08:05:37 +00:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2019-04-02 05:50:26 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2020-05-04 17:55:14 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.6.3'
|
2019-04-02 05:50:26 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-12-12 17:17:26 +00:00
|
|
|
classpath 'com.google.gms:google-services:4.3.3'
|
2019-11-19 10:52:55 +00:00
|
|
|
classpath 'io.fabric.tools:gradle:1.31.2'
|
2019-12-01 08:05:37 +00:00
|
|
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.1.1"
|
2019-04-02 05:50:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-01 08:05:37 +00:00
|
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
|
|
|
|
2019-04-02 05:50:26 +00:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2019-12-03 20:56:53 +00:00
|
|
|
maven { url 'https://maven.lokalise.co' }
|
2019-04-02 05:50:26 +00:00
|
|
|
}
|
2019-12-01 08:05:37 +00:00
|
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
2020-01-19 21:51:10 +00:00
|
|
|
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
}
|
2019-04-02 05:50:26 +00:00
|
|
|
}
|
|
|
|
|
2019-12-19 15:40:27 +00:00
|
|
|
task clean(type: Delete, group: 'build') {
|
2019-04-02 05:50:26 +00:00
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|
2019-12-01 08:05:37 +00:00
|
|
|
|
|
|
|
ktlint {
|
|
|
|
android = true
|
|
|
|
}
|