mirror of
https://github.com/etesync/android
synced 2024-12-23 07:08:16 +00:00
Build: disable kotlin assertions for release builds.
This is so it doesn't crash for users when it sholudn't until we complete the migration.
This commit is contained in:
parent
d98d91a67f
commit
c75f2fa7d5
@ -49,6 +49,15 @@ android {
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||
buildConfigField 'String', 'DEBUG_REMOTE_URL', 'null'
|
||||
|
||||
// Configure Kotlin compiler optimisations for releases
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = [
|
||||
'-Xno-param-assertions',
|
||||
'-Xno-call-assertions',
|
||||
'-Xno-receiver-assertions'
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user