Skip to content

Commit f3c5771

Browse files
authored
Use correct property for scalafmt
The example uses an outdated property for configuring scalafmt.
1 parent 6789a1d commit f3c5771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin-gradle/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ spotless {
430430
```gradle
431431
spotless {
432432
scala {
433-
// version and configFile, majorScalaVersion are all optional
434-
scalafmt('3.5.9').configFile('scalafmt.conf').majorScalaVersion('2.13')
433+
// version and configFile, scalaMajorVersion are all optional
434+
scalafmt('3.5.9').configFile('scalafmt.conf').scalaMajorVersion('2.13')
435435
```
436436
437437
<a name="applying-to-cc-sources"></a>

0 commit comments

Comments
 (0)