Files
kotlin-fork/idea/testData/configuration/gradle/plugin_present/build_after.gradle
T
2018-11-29 16:23:24 +03:00

37 lines
688 B
Groovy
Vendored

apply plugin: "java"
apply plugin: "kotlin"
sourceCompatibility = 1.5
version = '1.0'
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
buildscript {
ext.kotlin_version = '$VERSION$'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}