forked from firebase/FirebaseUI-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
42 lines (36 loc) · 993 Bytes
/
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
40
41
42
@file:Suppress("UnstableApiUsage")
buildscript {
repositories {
google()
mavenCentral()
mavenLocal()
}
dependencies {
classpath(Config.Plugins.android)
classpath(Config.Plugins.kotlin)
classpath(Config.Plugins.google)
classpath(Config.Plugins.mavenPublish)
classpath(Config.Plugins.buildInfo)
}
}
plugins {
id("com.github.ben-manes.versions") version "0.20.0"
}
allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
}
if (name != "lint" && name != "internal" && name != "lintchecks") {
apply(plugin = "checkstyle")
configure<CheckstyleExtension> { toolVersion = "8.10.1" }
tasks.register<Checkstyle>("checkstyle") {
configFile = file("$rootDir/library/quality/checkstyle.xml")
source("src")
include("**/*.java")
exclude("**/gen/**")
classpath = files()
}
}
}