blob: 24ab716bfd93462f804f54bf25f4e657c9cb27ce (
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
|
buildscript {
ext.kotlin_version = System.getenv("KOTLIN_VERSION") ?: '1.3.50'
println "$project uses Kotlin $kotlin_version"
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile files("${rootProject.projectDir}/mockito-kotlin/build/libs/mockito-kotlin-${version}.jar")
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.mockito:mockito-core:2.23.0"
testCompile "junit:junit:4.12"
testCompile "com.nhaarman:expect.kt:1.0.0"
}
|