Skip to content

Commit 3114738

Browse files
committed
minor docs thing
1 parent fca20e8 commit 3114738

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/website/docs/configuration-tool.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ The Gradle commands supports two modes: `insert` or `replace`:
223223

224224
- `insert` inserts new Gradle snippets at the desired location in the file
225225
- This operation takes either a raw string of Groovy-based Gradle, or an object. When using the object, make sure to set the `insertType` (see next line) to ensure the correct code is generated.
226-
- This operation takes an `insertType` of either `'method'` (default) or `'variable'` which will create either a method call (`methodName methodArg`) or an assignment (`variable = value`).
226+
- When using an object to insert, this operation takes an `insertType` of either `'method'` (default) or `'variable'` which will create either a method call (`methodName methodArg`) or an assignment (`variable = value`).
227+
- See the examples below for more clarity on how to structure the insert operation
227228
- `replace` replaces existing entries in the Gradle file at the desired location
228229

229230
Currently, the tool supports updating primitive types (numbers, strings, booleans), and arrays of primitives. Strings need additional quoting if necessary, in order to support non-quoted variable strings. See the example below for string quoting examples.

0 commit comments

Comments
 (0)