aboutsummaryrefslogtreecommitdiff
path: root/tests/build.gradle
blob: cd11001beb092d48d409f114473f5d03e15243f5 (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
buildscript {
    ext.kotlin_version = System.getenv("KOTLIN_VERSION") ?: '1.3.50'

    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-${rootProject.ext.versionName}.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"
}