https://kotlinlang.org logo
Title
a

arun

06/20/2018, 8:51 PM
I am trying to organize integration tests in a kotlin project by creating its own src directory like
src->integration-test->kotlin
and
src->integration-test->resources
. How can I add a sourceSet definition for this in kotlin-dsl?
c

Czar

06/20/2018, 9:01 PM
Interestingly I've already seen this on stack overflow. Answer by CorayThan should probably work for you: https://stackoverflow.com/questions/46419817/how-to-add-new-sourceset-with-gradle-kotlin-dsl
I'm curious where does this name come from? Since you're the second person asking on my memory 🙂
a

arun

06/20/2018, 9:07 PM
c

Czar

06/21/2018, 6:45 AM
Thanks to you too for sharing this link, now I understand.
j

james_bassett

06/24/2018, 11:07 PM
You can also use Netflix's Nebula IntegTest plugin: https://github.com/nebula-plugins/nebula-project-plugin