Skip to content

Commit 3f6fcde

Browse files
authored
misc: simplify configuration of modulePath (#1299)
1 parent c6b2074 commit 3f6fcde

File tree

34 files changed

+10
-132
lines changed

34 files changed

+10
-132
lines changed

runtime/auth/aws-credentials/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,3 @@ kotlin {
3030
}
3131
}
3232
}
33-
34-
dokka {
35-
modulePath = "aws-credentials"
36-
}

runtime/auth/aws-signing-common/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,3 @@ kotlin {
3434
}
3535
}
3636
}
37-
38-
dokka {
39-
modulePath = "aws-signing-common"
40-
}

runtime/auth/aws-signing-crt/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,3 @@ kotlin {
2626
}
2727
}
2828
}
29-
30-
dokka {
31-
modulePath = "aws-signing-crt"
32-
}

runtime/auth/aws-signing-default/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,3 @@ kotlin {
2727
}
2828
}
2929
}
30-
31-
dokka {
32-
modulePath = "aws-signing-default"
33-
}

runtime/auth/aws-signing-tests/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,3 @@ kotlin {
3939
}
4040
}
4141
}
42-
43-
dokka {
44-
modulePath = "aws-signing-tests"
45-
}

runtime/auth/http-auth-api/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@ kotlin {
1616
}
1717
}
1818
}
19-
20-
dokka {
21-
modulePath = "http-auth-api"
22-
}

runtime/auth/http-auth-aws/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,3 @@ kotlin {
3737
}
3838
}
3939
}
40-
41-
dokka {
42-
modulePath = "http-auth-aws"
43-
}

runtime/auth/http-auth/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,3 @@ kotlin {
2727
}
2828
}
2929
}
30-
31-
dokka {
32-
modulePath = "http-auth"
33-
}

runtime/auth/identity-api/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,3 @@ kotlin {
2828
}
2929
}
3030
}
31-
32-
dokka {
33-
modulePath = "identity-api"
34-
}

runtime/build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,14 @@ dependencies {
8585
it.plugins.apply("dokka-convention") // Apply the Dokka conventions plugin to the submodule
8686
dokka(project(it.path)) // Aggregate the submodule's generated documentation
8787
}
88+
89+
subprojects {
90+
if (excludeFromDocumentation.contains(this@subprojects.path)) {
91+
return@subprojects
92+
}
93+
94+
dokka {
95+
modulePath = this@subprojects.name
96+
}
97+
}
8898
}

0 commit comments

Comments
 (0)