1/* 2 * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5sourceCompatibility = 1.6 6targetCompatibility = 1.6 7 8kotlin { 9 targets { 10 fromPreset(presets.jvm, 'jvm') 11 } 12 sourceSets { 13 jvmTest.dependencies { 14 api "org.jetbrains.kotlin:kotlin-test:$kotlin_version" 15 // Workaround to make addSuppressed work in tests 16 api "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" 17 api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 18 api "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" 19 api "junit:junit:$junit_version" 20 } 21 } 22} 23 24jvmTest { 25 testLogging { 26 showStandardStreams = true 27 events "passed", "failed" 28 } 29 def stressTest = project.properties['stressTest'] 30 if (stressTest != null) systemProperties['stressTest'] = stressTest 31} 32