Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 684 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 684 Bytes

English | 简体中文

Feature

      Delete SourceFile and LineNumber attributes of the class in the project during compilation

Quick Start

  • add build classpath

    classpath "com.bytedance.android.byteX:SourceFileKiller:${plugin_version}"

  • apply and configure the plugin in your build.gradle(application)

    apply plugin: 'bytex.sourcefile'
    SourceFile {
        enable true//enable state
        enableInDebug true//whether enable in debug build
        deleteSourceFile true//whether to delete SourceFile info
        deleteLineNumber true//whether to delete LineNumber info
    }