-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (28 loc) · 720 Bytes
/
Copy pathbuild.gradle
File metadata and controls
32 lines (28 loc) · 720 Bytes
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
import dependencies.Dependencies
import dependencies.MavenUrls
buildscript {
repositories {
google()
jcenter()
maven { url MavenUrls.JITPACK_IO}
}
dependencies {
classpath Dependencies.ClassPaths.gradleClasspath
classpath Dependencies.ClassPaths.kotlinGradlePluginClasspath
}
}
allprojects {
repositories {
google()
jcenter()
maven { url MavenUrls.JITPACK_IO}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects { subProject ->
//this allows to run detekt or ktlint for a specific module
// example usage: ./gradlew :data:ktlintFormat
apply from: "$project.rootDir/app/code-quality.gradle"
}