https://kotlinlang.org logo
#android
Title
# android
p

pp.amorim

03/14/2024, 3:07 PM
hi, I have a piece of code that I don’t want to be able to compile only when
BuildConfig._DEBUG_
is false. While it’s possible in Swift, I can’t do the same in Kotlin. (at least with what I know) I am doing some code migration and it would be terrible to have it going to production without fixing it
stackoverflow 1
not kotlin but kotlin colored 2
e

Erfannj En

03/15/2024, 2:17 PM
Just activate the minifyEnable, the compiler will do it when optimizing the codes