Skip to content

Commit

Permalink
Update the Gradle snippet for Kotlin DSL
Browse files Browse the repository at this point in the history
Gradle now recommends to use Kotlin DSL over Groovy DSL.
This updates the dependency snippet for Gradle to be compatible with both.
  • Loading branch information
LouisCAD authored Mar 22, 2024
1 parent f4d684c commit 82175ef
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 @@ -32,10 +32,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: 'javacv-platform', version: '1.5.10'
implementation("org.bytedeco:javacv-platform:1.5.10")
}
```

Expand Down

0 comments on commit 82175ef

Please sign in to comment.