Ended doing this in the end: ``` sourceSets.test {...
# gradle
p
Ended doing this in the end:
Copy code
sourceSets.test {
    java.srcDirs += file("src/integrationTest/kotlin")
    resources.srcDirs += file('src/integrationTest/resources')
}

task unitTest(type: Test ) {
    group = LifecycleBasePlugin.VERIFICATION_GROUP
    description = 'Runs unit tests.'
    include '**/src/test/**'
}

task integrationTest(type: Test ) {
    group = LifecycleBasePlugin.VERIFICATION_GROUP
    description = 'Runs integration tests.'
    include '**/src/integrationTest/**'
}
Much simpler than a custom configuration ­čśä