Skip to content

Commit

Permalink
Nit: Use diff syntax highlighting for snapshot instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspittle committed Nov 22, 2024
1 parent 40d449a commit 51516b6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,12 @@ fixes and new features will be available for testing for a short period before t
If you ever file a bug with Kotter and are asked to test a fix using a snapshot, you must add an entry for the sonatype
snapshots repository to your `repositories` block in order to allow Gradle to find it:

```kotlin
```diff
// build.gradle.kts

repositories {
mavenCentral()
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
+ maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
```

Expand Down

0 comments on commit 51516b6

Please sign in to comment.