-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (29 loc) · 946 Bytes
/
build.gradle
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
apply from: 'gradle/versions.gradle'
def useMavenLocal = project.hasProperty("useMavenLocal")
print("useMavenLocal = " + useMavenLocal)
buildscript {
apply from: 'gradle/versions.gradle'
repositories {
// mavenLocal() // Uncomment when testing on Maven local repository
google()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:${androidPluginVersion}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${detektVersion}"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:${dokkaVersion}"
}
}
allprojects {
repositories {
if (useMavenLocal) mavenLocal()
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}