-
Notifications
You must be signed in to change notification settings - Fork 49
/
build.gradle.kts
45 lines (41 loc) · 1.17 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
buildscript {
repositories {
google()
mavenCentral()
jcenter {
content {
includeVersion("org.jetbrains.trove4j", "trove4j", "20160824")
}
}
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.2")
}
}
subprojects {
plugins.whenPluginAdded {
if (this is com.android.build.gradle.LibraryPlugin) {
extensions.configure<com.android.build.gradle.LibraryExtension> {
libraryVariants.all {
tasks.register<Javadoc>(name + "Javadoc") {
setSource(javaCompileProvider.map { it.source })
classpath = getCompileClasspath(null) + files(bootClasspath)
isFailOnError = false
}
}
}
}
}
repositories {
google()
mavenCentral()
jcenter {
content {
includeVersion("org.jetbrains.trove4j", "trove4j", "20160824")
}
}
}
}
tasks.named<Wrapper>("wrapper") {
distributionType = Wrapper.DistributionType.ALL
}