private boolean hasModuleInfoFile() {
		return ctx.getProject()
			.getMainSourceSet()
			.getSources()
			.stream()
			.anyMatch(s -> s.getFile().getFileName().toString().equals("module-info.java"));
	}
This class takes a <code>Project</code> and compiles it.
src/main/java/dev/jbang/source/buildsteps/CompileBuildStep.java