난독화시 Line Number 정보가 보존되도록 proguard-rules.pro에 다음 설정을 추가한다.

# Preserve annotations, line numbers, and source file names
-keepattributes *Annotation*,SourceFile,LineNumberTable

참고 - https://yous.be/2014/05/15/how-to-configure-proguard-using-gradle/

 

gradle 설정