Specify dependencies with kotlin helper function
This commit is contained in:
parent
c8dbcc3f49
commit
92a226dd02
1 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
|
// 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.
|
// Apply the application plugin to add support for building a CLI application in Java.
|
||||||
application
|
application
|
||||||
|
@ -26,16 +26,16 @@ repositories {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Align versions of all Kotlin components
|
// 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.
|
// Use the Kotlin standard library.
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib:latest.release")
|
implementation(kotlin("stdlib", "latest.release"))
|
||||||
|
|
||||||
// Use the Kotlin test library.
|
// Use the Kotlin test library.
|
||||||
testImplementation("org.jetbrains.kotlin:kotlin-test:latest.release")
|
testImplementation(kotlin("test", "latest.release"))
|
||||||
|
|
||||||
// Use the Kotlin JUnit integration.
|
// Use the Kotlin JUnit integration.
|
||||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:latest.release")
|
testImplementation(kotlin("test-junit", "latest.release"))
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
|
Loading…
Reference in a new issue