You can specify compiler args inside kotlinOptions closure on tasks of KotlinCompile type. For all of them, for instance:
allprojects {
...
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget="1.6"
freeCompilerArgs += '-include-runtime'
}
}
}
Kotlin docs: using Gradle