mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-29 19:33:17 -05:00
52 lines
1.3 KiB
Text
52 lines
1.3 KiB
Text
plugins {
|
|
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
|
|
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
google()
|
|
maven { setUrl("https://www.jitpack.io") }
|
|
}
|
|
}
|
|
|
|
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 {
|
|
dependencies {
|
|
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
|
|
classpath("com.google.gms:google-services:4.3.3")
|
|
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:8.2.0")
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
delete(rootProject.buildDir)
|
|
}
|