File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
plugin-gradle/src/main/java/com/diffplug/gradle/spotless
plugin-maven/src/main/java/com/diffplug/spotless/maven/cpp Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2016-2020 DiffPlug
2+ * Copyright 2016-2023 DiffPlug
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2222import org .gradle .api .Project ;
2323
2424import com .diffplug .spotless .cpp .CppDefaults ;
25- import com .diffplug .spotless .extra .EclipseBasedStepBuilder ;
25+ import com .diffplug .spotless .extra .EquoBasedStepBuilder ;
2626import com .diffplug .spotless .extra .cpp .EclipseCdtFormatterStep ;
2727
2828public class CppExtension extends FormatExtension implements HasBuiltinDelimiterForLicense {
@@ -42,7 +42,7 @@ public EclipseConfig eclipseCdt(String version) {
4242 }
4343
4444 public class EclipseConfig {
45- private final EclipseBasedStepBuilder builder ;
45+ private final EquoBasedStepBuilder builder ;
4646
4747 EclipseConfig (String version ) {
4848 builder = EclipseCdtFormatterStep .createBuilder (provisioner ());
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2016-2020 DiffPlug
2+ * Copyright 2016-2023 DiffPlug
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2121import org .apache .maven .plugins .annotations .Parameter ;
2222
2323import com .diffplug .spotless .FormatterStep ;
24- import com .diffplug .spotless .extra .EclipseBasedStepBuilder ;
24+ import com .diffplug .spotless .extra .EquoBasedStepBuilder ;
2525import com .diffplug .spotless .extra .cpp .EclipseCdtFormatterStep ;
2626import com .diffplug .spotless .maven .FormatterStepConfig ;
2727import com .diffplug .spotless .maven .FormatterStepFactory ;
@@ -36,7 +36,7 @@ public class EclipseCdt implements FormatterStepFactory {
3636
3737 @ Override
3838 public FormatterStep newFormatterStep (FormatterStepConfig stepConfig ) {
39- EclipseBasedStepBuilder eclipseConfig = EclipseCdtFormatterStep .createBuilder (stepConfig .getProvisioner ());
39+ EquoBasedStepBuilder eclipseConfig = EclipseCdtFormatterStep .createBuilder (stepConfig .getProvisioner ());
4040 eclipseConfig .setVersion (version == null ? EclipseCdtFormatterStep .defaultVersion () : version );
4141 if (null != file ) {
4242 File settingsFile = stepConfig .getFileLocator ().locateFile (file );
You can’t perform that action at this time.
0 commit comments