How to remove a local jar form a library dependence by maven

buildship

(何悦) #1

My project dependence "bmob library module " by remote maven library

bmob library module have a libs/example.jar
how to exclude this jar

my code is this ,but not effective

compile (‘cn.bmob.android:bmob-sdk:3.5.3’,{
exclude module: ‘okhttp’
})

Is there a method for inspecting/excluding modules from .jar dependencies not available on Maven? gradle dependencies seems to not report dependencies added with compile files(‘libs/example.jar’)