apply plugin: 'com.android.library' def projectHome = project.rootDir.getParent() + "/demo" android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { minSdkVersion 16 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'consumer-rules.pro' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { buildConfigField "String", "PROJECT_HOME", "\"${projectHome}\"" } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.github.pengfeizhou:jsc4a:0.1.0' implementation 'androidx.appcompat:appcompat:1.1.0' implementation "com.google.android.material:material:1.0.0" implementation 'com.squareup.okhttp3:okhttp:4.2.2' implementation 'com.google.code.gson:gson:2.8.6' implementation 'cn.bingoogolapple:bga-qrcode-zxing:1.3.7' implementation 'com.github.tbruyelle:rxpermissions:0.10.2' implementation "io.reactivex.rxjava2:rxjava:2.2.14" api 'org.greenrobot:eventbus:3.1.1' implementation 'com.lahm.library:easy-protector-release:1.1.0' api 'org.nanohttpd:nanohttpd:2.3.1' api project(':doric') testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' }