mihon/build.gradle.kts

53 lines
1.3 KiB
Text
Raw Normal View History

plugins {
2020-04-25 14:30:14 -04:00
id("com.android.application") version BuildPluginsVersion.AGP apply false
id("com.android.library") version BuildPluginsVersion.AGP apply false
kotlin("android") version BuildPluginsVersion.KOTLIN apply false
id("org.jlleitschuh.gradle.ktlint") version BuildPluginsVersion.KTLINT
2020-04-25 14:30:14 -04:00
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
}
2015-09-24 11:27:43 -04:00
2020-04-25 14:30:14 -04:00
allprojects {
2015-09-24 11:27:43 -04:00
repositories {
2020-07-18 15:01:13 -04:00
mavenCentral()
jcenter()
google()
2020-04-25 14:30:14 -04:00
maven { setUrl("https://www.jitpack.io") }
2015-09-24 11:27:43 -04:00
}
2020-04-25 14:30:14 -04:00
}
subprojects {
apply {
plugin("org.jlleitschuh.gradle.ktlint")
}
ktlint {
debug.set(false)
version.set(Versions.KTLINT)
verbose.set(true)
android.set(false)
outputToConsole.set(true)
ignoreFailures.set(false)
enableExperimentalRules.set(true)
filter {
exclude("**/generated/**")
include("**/kotlin/**")
}
}
}
buildscript {
2015-09-24 11:27:43 -04:00
dependencies {
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
classpath("com.google.gms:google-services:4.3.3")
2020-08-10 22:49:46 -04:00
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:8.3.0")
2015-09-24 11:27:43 -04:00
}
repositories {
google()
2019-03-14 12:32:08 -04:00
jcenter()
2015-09-24 11:27:43 -04:00
}
2016-10-11 11:04:47 -04:00
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}