-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
46 lines (40 loc) · 1.02 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
40
41
42
43
44
45
46
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath(Libs.com_android_tools_build_gradle)
classpath(Libs.org_jetbrains_kotlin_kotlin_gradle_plugin)
classpath(Libs.com_jfrog_bintray_gradle_bintray_plugin)
classpath(Libs.dokka_gradle_plugin)
}
}
plugins {
mavenPublish
dokka
}
allprojects {
repositories {
google()
jcenter()
maven(url = "https://jitpack.io")
}
}
task<Delete>("clean") {
delete(rootProject.buildDir)
}
tasks.withType<Javadoc> {
options {
this as StandardJavadocDocletOptions
addStringOption("Xdoclint:none", "-quiet")
addStringOption("encoding", "UTF-8")
}
}
//For Groovy build.gradle files
project.extra.apply {
set("minSdkVersion", AndroidConstants.minSdkVersion)
set("targetSdkVersion", AndroidConstants.targetSdkVersion)
set("compileSdkVersion", AndroidConstants.compileSdkVersions)
set("buildToolsVersion", AndroidConstants.buildToolsVersion)
}