Skip to content

Commit 850b287

Browse files
committed
Fix readme for Gradle plugin with custom binary
1 parent 2330874 commit 850b287

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
@@ -1161,7 +1161,7 @@ To use a fixed binary, omit the `version` and specify a `pathToExe`:
11611161
spotless {
11621162
format 'rome', {
11631163
target '**/*.js','**/*.ts','**/*.json'
1164-
rome('12.0.0').pathToExe("${project.buildDir.absolutePath}/bin/rome")
1164+
rome().pathToExe("${project.buildDir.absolutePath}/bin/rome")
11651165
}
11661166
}
11671167
```
@@ -1175,7 +1175,7 @@ spotless {
11751175
format 'rome', {
11761176
target '**/*.js','**/*.ts','**/*.json'
11771177
// Uses the "rome" command, which must be on the user's path. -->
1178-
rome('12.0.0').pathToExe('rome')
1178+
rome().pathToExe('rome')
11791179
}
11801180
}
11811181
```

0 commit comments

Comments
 (0)