Skip to content

Commit 87c2ae7

Browse files
committed
Update style of timbver and apollo to match modern capture UX
1 parent 32c9ea6 commit 87c2ae7

File tree

4 files changed

+53
-1
lines changed

4 files changed

+53
-1
lines changed

bazel/android/dokka.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _sources_javadocs_impl(ctx):
3434
-moduleName "Capture" \
3535
-sourceSet "-src $sources_dir -noStdlibLink -noJdkLink -perPackageOptions io.bitdrift.capture.*,-suppress;.*,+suppress" \
3636
-outputDir $tmp_dir > /dev/null \
37-
-pluginsConfiguration "org.jetbrains.dokka.base.DokkaBase={\\"footerMessage\\": \\"\\u00A9 2025 bitdrift, Inc.\\", \\"separateInheritedMembers\\": true}"
37+
-pluginsConfiguration "org.jetbrains.dokka.base.DokkaBase={\"footerMessage\": \"\u00A9 2026 bitdrift, Inc.\", \"separateInheritedMembers\": true}"
3838
3939
original_directory=$PWD
4040
cd $tmp_dir

platform/jvm/capture-apollo/build.gradle.kts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ dependencies {
6969
testImplementation(libs.kotlin.mockito.kotlin)
7070
}
7171

72+
tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
73+
val dokkaBaseConfiguration = """{"footerMessage": "\u00A9 2026 bitdrift, Inc.", "separateInheritedMembers": true}"""
74+
pluginsMapConfiguration.set(mapOf("org.jetbrains.dokka.base.DokkaBase" to dokkaBaseConfiguration))
75+
76+
dokkaSourceSets.configureEach {
77+
perPackageOption {
78+
matchingRegex.set("io\\.bitdrift\\.capture\\..*")
79+
suppress.set(false)
80+
}
81+
perPackageOption {
82+
matchingRegex.set(".*")
83+
suppress.set(true)
84+
}
85+
}
86+
}
87+
7288
mavenPublishing {
7389
pom {
7490
name.set("CaptureApollo")

platform/jvm/capture-timber/build.gradle.kts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ dependencies {
6969
testImplementation(libs.kotlin.mockito.kotlin)
7070
}
7171

72+
tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
73+
val dokkaBaseConfiguration = """{"footerMessage": "\u00A9 2026 bitdrift, Inc.", "separateInheritedMembers": true}"""
74+
pluginsMapConfiguration.set(mapOf("org.jetbrains.dokka.base.DokkaBase" to dokkaBaseConfiguration))
75+
76+
dokkaSourceSets.configureEach {
77+
perPackageOption {
78+
matchingRegex.set("io\\.bitdrift\\.capture\\..*")
79+
suppress.set(false)
80+
}
81+
perPackageOption {
82+
matchingRegex.set(".*")
83+
suppress.set(true)
84+
}
85+
}
86+
}
87+
7288
mavenPublishing {
7389
pom {
7490
name.set("CaptureTimber")

test_dokka.gradle.kts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
2+
val dokkaBaseConfiguration = """
3+
{
4+
"footerMessage": "(c) 2025 bitdrift, Inc.",
5+
"separateInheritedMembers": true
6+
}
7+
"""
8+
pluginsMapConfiguration.set(mapOf("org.jetbrains.dokka.base.DokkaBase" to dokkaBaseConfiguration))
9+
10+
dokkaSourceSets.configureEach {
11+
perPackageOption {
12+
matchingRegex.set("io\\.bitdrift\\.capture\\..*")
13+
suppress.set(false)
14+
}
15+
perPackageOption {
16+
matchingRegex.set(".*")
17+
suppress.set(true)
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)