INNER CODE UNIT · Java

calculateModules

quarkusio/quarkus-super-heroes · .github/calculateModules.java:15

class calculateModules {
	private static final String DEFAULT_TIMEFRAME = "24 hours";
	private static final List<String> MODULES = List.of(
		"event-statistics",
		"grpc-locations",
		"rest-fights",
		"rest-heroes",
		"rest-narration",
		"rest-villains",
		"ui-super-heroes"
	);

	private static boolean shouldIncludeFile(String fileName) {
		// Files in /deploy or <module-name>/deploy are generated by the build process,
		// so they could skew which modules we "think" have changed
		// So remove them and only look at the other changes
    return Objects.nonNull(fileName) &&
	    !fileName.trim().isEmpty() &&

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…