@@ -96,22 +96,25 @@ subprojects {
9696 }
9797}
9898
99+ // Projects to ignore for API validation and documentation generation
100+ val projectsToIgnore = listOf (
101+ " hll-codegen" ,
102+ " dynamodb-mapper-codegen" ,
103+ " dynamodb-mapper-ops-codegen" ,
104+ " dynamodb-mapper-schema-codegen" ,
105+ " dynamodb-mapper-schema-generator-plugin-test"
106+ ).filter { it in subprojects.map { it.name }.toSet() } // Some projects may not be in the build depending on bootstrapping
107+
99108apiValidation {
100- val availableSubprojects = subprojects.map { it.name }.toSet()
101-
102- ignoredProjects + = listOf (
103- " hll-codegen" ,
104- " dynamodb-mapper-codegen" ,
105- " dynamodb-mapper-ops-codegen" ,
106- " dynamodb-mapper-schema-codegen" ,
107- " dynamodb-mapper-schema-generator-plugin-test" ,
108- ).filter { it in availableSubprojects } // Some projects may not be in the build depending on bootstrapping
109+ ignoredProjects + = projectsToIgnore
109110}
110111
111112// Configure Dokka for subprojects
112113dependencies {
113114 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
115+ if (it.name !in projectsToIgnore) {
116+ it.plugins.apply (" dokka-convention" ) // Apply the Dokka conventions plugin to the subproject
117+ dokka(project(it.path)) // Aggregate the subproject's generated documentation
118+ }
116119 }
117120}
0 commit comments