From 518c0a6abf7a3933eff2dbdfacf51ffdb7871376 Mon Sep 17 00:00:00 2001 From: Louis CAD Date: Tue, 26 Mar 2024 04:25:50 +0100 Subject: [PATCH] Update the Gradle snippet for Kotlin DSL Gradle now recommends to use Kotlin DSL over Groovy DSL. This updates the dependency snippet for Gradle to be compatible with both. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81e979f0..a4835570 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,10 @@ We can also have everything downloaded and installed automatically with: ``` - * 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") } ```