summaryrefslogtreecommitdiff
path: root/odcsim-core
diff options
context:
space:
mode:
Diffstat (limited to 'odcsim-core')
-rw-r--r--odcsim-core/build.gradle.kts (renamed from odcsim-core/build.gradle)19
1 files changed, 12 insertions, 7 deletions
diff --git a/odcsim-core/build.gradle b/odcsim-core/build.gradle.kts
index a0cd8450..1596f3c8 100644
--- a/odcsim-core/build.gradle
+++ b/odcsim-core/build.gradle.kts
@@ -23,19 +23,24 @@
*/
/* Build configuration */
-apply from: '../gradle/kotlin.gradle'
-apply plugin: 'java-library'
+apply(from = "../gradle/kotlin.gradle")
+plugins {
+ `java-library`
+}
/* Project configuration */
repositories {
jcenter()
}
+val junitJupiterVersion: String by extra
+val junitPlatformVersion: String by extra
+
dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib"
+ implementation(kotlin("stdlib"))
- testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_jupiter_version"
- testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_jupiter_version"
- testImplementation "org.junit.platform:junit-platform-launcher:$junit_platform_version"
- testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.0.0"
+ testImplementation("org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion")
+ testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion")
+ testImplementation("org.junit.platform:junit-platform-launcher:$junitPlatformVersion")
+ testImplementation("com.nhaarman.mockitokotlin2:mockito-kotlin:2.0.0")
}