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