Skip to content

Commit

Permalink
Update README.md with Gradle snippet for Kotlin DSL (pull #1486)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD authored Mar 26, 2024
1 parent c925682 commit 7c29f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ We can also have everything downloaded and installed automatically with:
</dependency>
```

* Gradle (inside the `build.gradle` file)
* Gradle (inside the `build.gradle.kts` or `build.gradle` file)
```groovy
dependencies {
implementation group: 'org.bytedeco', name: moduleName + '-platform', version: moduleVersion + '-1.5.10'
implementation("org.bytedeco:$moduleName-platform:$moduleVersion-1.5.10")
}
```

Expand Down

0 comments on commit 7c29f9b

Please sign in to comment.