|
1
|
1 |
import com.geekorum.build.SourceLicenseCheckerPlugin
|
|
|
2 |
import com.geekorum.build.configureAnnotationProcessorDeps
|
|
|
3 |
import com.geekorum.build.setupGoogleContent
|
|
|
4 |
|
|
|
5 |
plugins {
|
|
|
6 |
id("com.android.library") apply false
|
|
|
7 |
kotlin("android") apply false
|
|
|
8 |
kotlin("kapt") apply false
|
|
|
9 |
}
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
// some extra properties
|
|
|
13 |
extra["compileSdkVersion"] = "android-29"
|
|
|
14 |
|
|
|
15 |
allprojects {
|
|
|
16 |
repositories {
|
|
|
17 |
google().setupGoogleContent()
|
|
|
18 |
jcenter()
|
|
|
19 |
}
|
|
|
20 |
apply<SourceLicenseCheckerPlugin>()
|
|
|
21 |
}
|
|
|
22 |
|
|
|
23 |
subprojects {
|
|
|
24 |
group = "com.geekorum"
|
|
|
25 |
version = "0.0.1"
|
|
|
26 |
|
|
|
27 |
configureAnnotationProcessorDeps()
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
task("clean", type = Delete::class) {
|
|
|
31 |
doLast {
|
|
|
32 |
delete(buildDir)
|
|
|
33 |
}
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
|