class GradleConfigurationBuildCustomizer implements BuildCustomizer<GradleBuild> {

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

	@Override
	public int getOrder() {
		return Ordered.LOWEST_PRECEDENCE;
	}

}

		boolean providedRuntimeUsed = build.dependencies()
			.items()
			.anyMatch((dependency) -> DependencyScope.PROVIDED_RUNTIME.equals(dependency.getScope()));
		boolean war = build.plugins().values().anyMatch((plugin) -> plugin.getId().equals("war"));
		if (providedRuntimeUsed && !war) {
			build.configurations().add("providedRuntime");
		}
	
<no_super_class>