class SpringRestDocsBuildCustomizer implements BuildCustomizer<Build> {

	@Override
	public void customize(Build build) {<FILL_FUNCTION_BODY>}

	private boolean switchToWebTestClient(Build build) {
		if (build.dependencies().has("web")) {
			return false;
		}
		if (build.dependencies().has("webflux") || build.dependencies().has("jersey")) {
			return true;
		}
		return false;
	}

}

		if (switchToWebTestClient(build)) {
			build.dependencies().remove("restdocs");
			build.dependencies()
				.add("restdocs-webtestclient", "org.springframework.restdocs", "spring-restdocs-webtestclient",
						DependencyScope.TEST_COMPILE);
		}
	
<no_super_class>