2017-01-03 02:37:38 +01:00
|
|
|
buildscript {
|
2022-01-20 21:10:32 +01:00
|
|
|
ext.kotlin_version = '1.6.10'
|
2017-01-03 02:37:38 +01:00
|
|
|
repositories {
|
2017-10-27 13:19:12 +02:00
|
|
|
google()
|
2021-05-21 17:51:47 +02:00
|
|
|
mavenCentral()
|
2021-06-28 21:13:24 +02:00
|
|
|
gradlePluginPortal()
|
2017-01-03 02:37:38 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2022-03-13 16:08:15 +01:00
|
|
|
classpath "com.android.tools.build:gradle:7.1.2"
|
2017-11-05 22:32:36 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2021-06-28 21:13:24 +02:00
|
|
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"
|
2017-01-03 02:37:38 +01:00
|
|
|
}
|
|
|
|
}
|
2021-06-28 21:13:24 +02:00
|
|
|
plugins {
|
|
|
|
id "org.jlleitschuh.gradle.ktlint" version "10.1.0"
|
|
|
|
}
|
2017-01-03 02:37:38 +01:00
|
|
|
|
|
|
|
allprojects {
|
2021-06-28 21:13:24 +02:00
|
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
2017-01-03 02:37:38 +01:00
|
|
|
repositories {
|
2020-02-01 01:51:40 +01:00
|
|
|
google()
|
2021-05-21 17:51:47 +02:00
|
|
|
mavenCentral()
|
2017-03-07 22:23:17 +01:00
|
|
|
maven { url "https://jitpack.io" }
|
2017-01-03 02:37:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|