mirror of
https://github.com/opencv/opencv.git
synced 2024-12-22 06:27:59 +08:00
32 lines
911 B
Groovy
32 lines
911 B
Groovy
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion @ANDROID_COMPILE_SDK_VERSION@
|
||
|
defaultConfig {
|
||
|
applicationId "org.opencv.samples.opencv_mobilenet"
|
||
|
minSdkVersion @ANDROID_MIN_SDK_VERSION@
|
||
|
targetSdkVersion @ANDROID_TARGET_SDK_VERSION@
|
||
|
versionCode 341
|
||
|
versionName "3.41"
|
||
|
}
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
sourceSets {
|
||
|
main {
|
||
|
java.srcDirs = @ANDROID_SAMPLE_JAVA_PATH@
|
||
|
aidl.srcDirs = @ANDROID_SAMPLE_JAVA_PATH@
|
||
|
res.srcDirs = @ANDROID_SAMPLE_RES_PATH@
|
||
|
manifest.srcFile '@ANDROID_SAMPLE_MANIFEST_PATH@'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
//implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
implementation project(':opencv')
|
||
|
}
|