123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion rootProject.ext.android['compileSdkVersion']
- defaultConfig {
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- externalNativeBuild {
- cmake {
- cppFlags '-std=c++11'
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug{
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- preRelease{
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- externalNativeBuild {
- cmake {
- path 'src/main/cpp/CMakeLists.txt'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation 'androidx.annotation:annotation:1.0.1'
- implementation 'com.camerakit:jpegkit:0.2.2'
- testImplementation 'junit:junit:4.12'
- implementation 'com.google.android.gms:play-services-vision:10.2.1'
- }
|