blob: 7e21215aa0a44517c146c70bc23c4e1e4c1d7986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
apply plugin: 'kotlinx-atomicfu'
apply plugin: 'kotlin'
// This flag is enabled to be able using JVM IR compiled dependencies (when build is ran with -Penable_jvm_ir)
kotlin.target.compilations.all {
kotlinOptions.freeCompilerArgs += '-Xallow-jvm-ir-dependencies'
}
dependencies {
compileOnly atomicfuJvm
testRuntime atomicfuJvm
compile 'org.jetbrains.kotlin:kotlin-stdlib'
testCompile 'org.jetbrains.kotlin:kotlin-test'
testCompile 'org.jetbrains.kotlin:kotlin-test-junit'
testCompile 'junit:junit:4.12'
}
compileTestKotlin.doLast {
file("$buildDir/test_compile_classpath.txt").text = classpath.join("\n")
}
test.doLast {
file("$buildDir/test_runtime_classpath.txt").text = classpath.join("\n")
}
|