-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.gradle.kts
37 lines (32 loc) · 1.1 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
import org.jetbrains.dokka.DokkaConfiguration.Visibility
import org.jetbrains.dokka.gradle.DokkaTaskPartial
import java.net.URL
plugins {
id(libs.plugins.android.application.get().pluginId).apply(false)
id(libs.plugins.android.library.get().pluginId).apply(false)
alias(libs.plugins.kotlin.android).apply(false)
alias(libs.plugins.dokka)
}
allprojects {
group = "io.github.thibaultbee.srtdroid"
version = "1.8.5"
}
subprojects {
apply(plugin = "org.jetbrains.dokka")
tasks.withType<DokkaTaskPartial>().configureEach {
dokkaSourceSets.configureEach {
documentedVisibilities.set(
setOf(
Visibility.PUBLIC,
Visibility.PROTECTED
)
)
sourceLink {
localDirectory.set(projectDir.resolve("src"))
remoteUrl.set(URL("https://github.com/ThibaultBee/srtdroid/${project.name}/src"))
remoteLineSuffix.set("#L")
}
}
}
}