Files
kotlin-fork/idea/testData/gradle/gradleFacetImportTest/commonArgumentsImport/build.gradle
T

41 lines
790 B
Groovy
Vendored

group 'Again'
version '1.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.40")
}
}
apply plugin: 'kotlin-platform-common'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-common:1.2.40"
}
compileKotlinCommon{
kotlinOptions {
languageVersion = 1.1
apiVersion = 1.0
freeCompilerArgs += ["-cp", "my/classpath"]
freeCompilerArgs += ["-d", "my/destination"]
}
}
compileTestKotlinCommon{
kotlinOptions {
languageVersion = 1.1
apiVersion = 1.0
freeCompilerArgs += ["-cp", "my/test/classpath"]
freeCompilerArgs += ["-d", "my/test/destination"]
}
}