How do I specify `kotlinOptions` in gradle for sou...
# announcements
s
How do I specify
kotlinOptions
in gradle for sourcesets other than
main
and
test
? I have problems setting the `languageVersion`/`apiVersion` for my
testFixtures
sourceset
a
This might help:
Copy code
tasks.withType<KotlinCompile>{
   kotlinOptions{
    //...
Copy code
}
}
s
Works like a charm. Thanks!
👍 2