From 92a226dd0201c8fd2238d7acd269b649aa4dcb14 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Sun, 19 Sep 2021 19:52:14 +0200 Subject: [PATCH] Specify dependencies with kotlin helper function --- build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 626c728..61b5f90 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { // Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin. - id("org.jetbrains.kotlin.jvm") version "latest.release" + kotlin("jvm") version "latest.release" // Apply the application plugin to add support for building a CLI application in Java. application @@ -26,16 +26,16 @@ repositories { dependencies { // Align versions of all Kotlin components - implementation(platform("org.jetbrains.kotlin:kotlin-bom:latest.release")) + implementation(platform(kotlin("bom", "latest.release"))) // Use the Kotlin standard library. - implementation("org.jetbrains.kotlin:kotlin-stdlib:latest.release") + implementation(kotlin("stdlib", "latest.release")) // Use the Kotlin test library. - testImplementation("org.jetbrains.kotlin:kotlin-test:latest.release") + testImplementation(kotlin("test", "latest.release")) // Use the Kotlin JUnit integration. - testImplementation("org.jetbrains.kotlin:kotlin-test-junit:latest.release") + testImplementation(kotlin("test-junit", "latest.release")) } java {