No issue: move kotlin-allopen outside appVariants loop.

The kotlin-allopen plugin could be getting applied for each variant we
have in the app. With the changed code, it will only get applied once.
upstream-sync
Michael Comella 3 years ago committed by mergify[bot]
parent ea56dd216b
commit 667ef89220

@ -226,8 +226,6 @@ android {
}
}
android.applicationVariants.all { variant ->
// -------------------------------------------------------------------------------------------------
// Set up kotlin-allopen plugin for writing tests
// -------------------------------------------------------------------------------------------------
@ -240,6 +238,8 @@ android.applicationVariants.all { variant ->
}
}
android.applicationVariants.all { variant ->
// -------------------------------------------------------------------------------------------------
// Generate version codes for builds
// -------------------------------------------------------------------------------------------------

Loading…
Cancel
Save