I know in a groovy based build.gradle that you can define multiple excludes as described here:
dependencies {
def withoutStuff = {
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'support-v13'
exclude group: 'com.android.support', module: 'design-v13'
}
// For Material Datepicker
compile deps.datePicker, withoutStuff
}
But now how do we do this in a kotlin based build.gradle.kts file?