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 committed Mar 26, 2024
1 parent b3bda85 commit 518c0a6
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 @@ -30,10 +30,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: 'javacpp', version: '1.5.10'
implementation("org.bytedeco:javacpp:1.5.10")
}
```

Expand Down

0 comments on commit 518c0a6

Please sign in to comment.