Skip to content

Commit 582baf1

Browse files
committed
Standardize code blocks in update-gradle-wrappers.md to use shell syntax highlighting
1 parent cef1652 commit 582baf1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

docs/update-gradle-wrappers.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,25 @@ Suggested name: `update-gradle-wrappers` (added under `bin/`).
1414

1515
## Usage
1616

17-
```
17+
```shell
1818
bin/update-gradle-wrappers [<gradle-version>]
1919
```
2020

2121
- If omitted, the version defaults to `9.2.1`.
2222
- Example: update everything to Gradle 9.2.1
2323

24-
```
24+
```shell
2525
bin/update-gradle-wrappers 9.2.1
2626
```
2727

2828
## What the script does
2929

3030
1. Uses the fixed seed at `exercises/gradle` and runs:
31-
```
31+
32+
```shell
3233
./gradlew wrapper --gradle-version <version>
3334
```
35+
3436
This produces the correct `gradle-wrapper.jar` and `gradle-wrapper.properties` for the requested version.
3537
2. Copies the wrapper files from the seed to every exercise’s `gradle/wrapper/` directory
3638

@@ -44,6 +46,7 @@ This aligns with the requested approach: update via Gradle, and ensure consisten
4446
## Troubleshooting
4547

4648
- If you see permission issues, make the script executable:
47-
```
49+
50+
```shell
4851
chmod +x bin/update-gradle-wrappers
4952
```

0 commit comments

Comments
 (0)