apply plugin: 'com.android.library' android { compileSdkVersion 26 defaultConfig { minSdkVersion 21 targetSdkVersion 26 versionCode 2 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } sourceSets { main { jniLibs.srcDirs = ['libs'] } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' //BaseOkHttp V3 网络请求库 implementation 'com.github.kongzue:BaseOkHttpV3:3.2.3.beta4' //BaseJson 解析库 implementation 'com.github.kongzue:BaseJson:1.0.7.2' implementation "com.squareup.okhttp3:okhttp:4.9.1" implementation files('libs/fastjson-1.1.46.android.jar') implementation files ('libs/nuisdk-release.aar') api 'org.greenrobot:eventbus:3.2.0' implementation 'androidx.appcompat:appcompat:1.3.1' }