class SpringCloudContractKotlinDslGradleBuildCustomizer extends SpringCloudContractGradleBuildCustomizer {

	SpringCloudContractKotlinDslGradleBuildCustomizer(ProjectDescription description,
			SpringCloudProjectVersionResolver projectsVersionResolver) {
		super(description, projectsVersionResolver);
	}

	@Override
	protected void configureContractsDsl(GradleBuild build) {<FILL_FUNCTION_BODY>}

}

		boolean hasWebflux = build.dependencies().has("webflux");
		Set<String> imports = new LinkedHashSet<>();
		if (hasWebflux) {
			imports.add("org.springframework.cloud.contract.verifier.config.TestMode");
		}
		build.snippets().add(imports, (indentingWriter) -> {
			indentingWriter.println("contracts {");
			indentingWriter.indented(() -> {
				if (hasWebflux) {
					indentingWriter.println("testMode.set(TestMode.WEBTESTCLIENT)");
				}
			});
			indentingWriter.println("}");
		});
	
<methods>public void customize(GradleBuild) <variables>private static final MavenRepository SPRING_MILESTONES,private static final MavenRepository SPRING_SNAPSHOTS,private final non-sealed ProjectDescription description,private static final Log logger,private final non-sealed io.spring.start.site.extension.dependency.springcloud.SpringCloudProjectVersionResolver projectsVersionResolver