Exclude assets for release build type

前端 未结 5 1021
自闭症患者
自闭症患者 2020-12-08 21:36

I\'m importing an android library in an application built with gradle, like that:

dependencies {
    compile \'com.e         


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 21:57

    It's not possible through a filter.

    You could have 2 assets folders though. a main one (src/main/assets) used for both debug and release and one (src/debug/assets) used only for the debug build.

    source

提交回复
热议问题