Skip to content

Commit c0a3378

Browse files
committed
HLLs: only generate docs for dynamodb-mapper and dynamodb-mapper-annotations
1 parent af3c184 commit c0a3378

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

hll/build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,7 @@ apiValidation {
108108
).filter { it in availableSubprojects } // Some projects may not be in the build depending on bootstrapping
109109
}
110110

111-
// Configure Dokka for subprojects
111+
// Configure Dokka for dynamodb-mapper
112112
dependencies {
113-
subprojects.forEach {
114-
it.plugins.apply("dokka-convention") // Apply the Dokka conventions plugin to the subproject
115-
dokka(project(it.path)) // Aggregate the subproject's generated documentation
116-
}
113+
dokka(project("dynamodb-mapper"))
117114
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
plugins {
2+
`dokka-convention`
3+
}
4+
5+
dependencies {
6+
dokka(project("dynamodb-mapper"))
7+
dokka(project("dynamodb-mapper-annotations"))
8+
}

hll/dynamodb-mapper/dynamodb-mapper-annotations/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@
66
description = "DynamoDbMapper annotations"
77
extra["displayName"] = "AWS :: SDK :: Kotlin :: HLL :: DynamoDbMapper :: Annotations"
88
extra["moduleName"] = "aws.sdk.kotlin.hll.dynamodbmapper.annotations"
9+
10+
plugins {
11+
`dokka-convention`
12+
}
13+
14+
dokka {
15+
modulePath = "dynamodb-mapper-annotations"
16+
}

hll/dynamodb-mapper/dynamodb-mapper/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ buildscript {
2626

2727
plugins {
2828
alias(libs.plugins.ksp)
29+
`dokka-convention`
2930
}
3031

3132
kotlin {
@@ -184,3 +185,7 @@ tasks.withType<Test> {
184185
startDdbLocal.stop()
185186
}
186187
}
188+
189+
dokka {
190+
modulePath = "dynamodb-mapper"
191+
}

0 commit comments

Comments
 (0)