plugins { id 'com.android.library' } android { compileSdkVersion rootProject.ext.android["compileSdkVersion"] buildToolsVersion rootProject.ext.android["buildToolsVersion"] defaultConfig { minSdkVersion rootProject.ext.android["minSdkVersion"] targetSdkVersion rootProject.ext.android["targetSdkVersion"] } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } repositories { flatDir { dirs 'libs' } } sourceSets { main { jniLibs.srcDirs = ['libs'] } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation rootProject.ext.dependencies["appcompat"] implementation rootProject.ext.dependencies["material"] implementation rootProject.ext.dependencies["annotation"] implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' implementation project(path: ':lib_base') implementation rootProject.ext.dependencies["gson"] implementation project(path: ':lib_idcard:lib_idcard_base') implementation files('libs/SerialPort.jar') implementation files('libs\\android-logging-log4j-1.0.3.jar') implementation files('libs\\log4j-1.2.17.jar') }