aboutsummaryrefslogtreecommitdiffstats
path: root/buildSrc/src/main/kotlin/kotlin-jvm-conventions.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc/src/main/kotlin/kotlin-jvm-conventions.gradle.kts')
-rw-r--r--buildSrc/src/main/kotlin/kotlin-jvm-conventions.gradle.kts16
1 files changed, 5 insertions, 11 deletions
diff --git a/buildSrc/src/main/kotlin/kotlin-jvm-conventions.gradle.kts b/buildSrc/src/main/kotlin/kotlin-jvm-conventions.gradle.kts
index 89007718..c7744f87 100644
--- a/buildSrc/src/main/kotlin/kotlin-jvm-conventions.gradle.kts
+++ b/buildSrc/src/main/kotlin/kotlin-jvm-conventions.gradle.kts
@@ -15,19 +15,13 @@ java {
targetCompatibility = JavaVersion.VERSION_1_6
}
-if (rootProject.extra.get("jvm_ir_enabled") as Boolean) {
- kotlin.target.compilations.configureEach {
- kotlinOptions.useIR = true
- }
-}
-
dependencies {
- testCompile(kotlin("test"))
+ testImplementation(kotlin("test"))
// Workaround to make addSuppressed work in tests
- testCompile(kotlin("reflect"))
- testCompile(kotlin("stdlib-jdk7"))
- testCompile(kotlin("test-junit"))
- testCompile("junit:junit:${version("junit")}")
+ testImplementation(kotlin("reflect"))
+ testImplementation(kotlin("stdlib-jdk7"))
+ testImplementation(kotlin("test-junit"))
+ testImplementation("junit:junit:${version("junit")}")
}
tasks.compileKotlin {