aboutsummaryrefslogtreecommitdiff
path: root/plugins/build.gradle
blob: a0bc5ee14bb9555f093313d5486330f6b0e03e08 (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
buildscript {
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

allprojects {
    apply plugin: 'kotlin'

    sourceCompatibility = 1.8

    tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
        kotlinOptions {
            languageVersion = language_version
            apiVersion = language_version
            jvmTarget = "1.8"
        }
    }
}

subprojects {
    dependencies {
        testCompile project(':testApi')
    }
}