After updating to Kotlin 1.2.40 in my project, I g...
# gradle
t
After updating to Kotlin 1.2.40 in my project, I get the following build error:
Copy code
* What went wrong:
Execution failed for task ':app:transformResourcesWithMergeJavaResForRegularDebugAndroidTest'.
> More than one file was found with OS independent path 'META-INF/main.kotlin_module'
Would it be safe to simply exclude that file with:
Copy code
packagingOptions {
        exclude 'META-INF/main.kotlin_module' // added for Kotlin 1.2.40
    }