Configure Kotlin: do not show notification when apply directive contains double quotes

This commit is contained in:
Natalia Ukhorskaya
2016-04-05 13:58:50 +03:00
parent e2f464ccc6
commit 3301f1f614
4 changed files with 63 additions and 3 deletions
@@ -0,0 +1,26 @@
apply plugin: "java"
apply plugin: "kotlin"
sourceCompatibility = 1.5
version = '1.0'
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile "org.jetbrains.kotlin:kotlin-stdlib:$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()
}
@@ -0,0 +1,21 @@
apply plugin: "java"
apply plugin: "kotlin"
sourceCompatibility = 1.5
version = '1.0'
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}