forked from aniyomiorg/aniyomi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
39 lines (33 loc) · 1.18 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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.jmailen.kotlinter") version BuildPluginsVersion.KOTLINTER
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
}
allprojects {
repositories {
mavenCentral()
google()
maven { setUrl("https://www.jitpack.io") }
}
}
subprojects {
apply(plugin = "org.jmailen.kotlinter")
kotlinter {
experimentalRules = true
// Doesn't play well with Android Studio
disabledRules = arrayOf("experimental:argument-list-wrapping")
}
}
buildscript {
dependencies {
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
classpath("com.google.gms:google-services:4.3.10")
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${BuildPluginsVersion.ABOUTLIB_PLUGIN}")
classpath(kotlin("serialization", version = BuildPluginsVersion.KOTLIN))
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}