28 lines
630 B
Groovy
28 lines
630 B
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:7.2.2"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
|
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.2.1"
|
|
}
|
|
}
|
|
plugins {
|
|
id "org.jlleitschuh.gradle.ktlint" version "10.2.1"
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|