Skip to content

Commit beed923

Browse files
committed
flexmarkFormatter -> flexmark
1 parent 68c7840 commit beed923

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/FlexmarkExtension.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public FlexmarkExtension(SpotlessExtension spotless) {
3030
super(spotless);
3131
}
3232

33-
public FlexmarkFormatterConfig flexmarkFormatter() {
34-
return flexmarkFormatter(FlexmarkStep.defaultVersion());
33+
public FlexmarkFormatterConfig flexmark() {
34+
return flexmark(FlexmarkStep.defaultVersion());
3535
}
3636

37-
public FlexmarkFormatterConfig flexmarkFormatter(String version) {
37+
public FlexmarkFormatterConfig flexmark(String version) {
3838
return new FlexmarkFormatterConfig(version);
3939
}
4040

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/FlexmarkExtensionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void integration() throws IOException {
3131
"spotless {",
3232
" flexmark {",
3333
" target '*.md'",
34-
" flexmarkFormatter()",
34+
" flexmark()",
3535
" }",
3636
"}");
3737
setFile("markdown_test.md").toResource("markdown/flexmark/FlexmarkUnformatted.md");

0 commit comments

Comments
 (0)