Skip to content

Commit fc812dc

Browse files
authored
Merge pull request #22 from micronaut-projects/keep-failing-projects
Still show projects that fail to build
2 parents 621b984 + ad83e46 commit fc812dc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

buildSrc/src/main/kotlin/io/micronaut/build/ProjectGraphBuilder.kt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,21 @@ abstract class ProjectGraphBuilder : DefaultTask() {
309309
props.get("build-status")?.toString(),
310310
dependencies.toList()
311311
)
312+
} else if (dependencyFile.name == "ERROR") {
313+
val name = projectDir.name.substring("reportForMicronaut".length).lowercase()
314+
projectToMetadata[name] = ModuleMetadata(
315+
name,
316+
"ERROR",
317+
"ERROR",
318+
"ERROR",
319+
"ERROR",
320+
"ERROR",
321+
"ERROR",
322+
"ERROR",
323+
latestBuildPluginsVersion.get(),
324+
"ERROR",
325+
emptyList()
326+
)
312327
}
313328
}
314329
}

0 commit comments

Comments
 (0)