2024-01-31 20:09:57 +08:00
|
|
|
apply plugin: 'com.android.application'
|
2024-01-31 17:53:08 +08:00
|
|
|
apply plugin: 'kotlin-android'
|
2024-01-31 20:09:57 +08:00
|
|
|
|
|
|
|
android {
|
|
|
|
namespace 'org.opencv.tests'
|
|
|
|
compileSdkVersion @ANDROID_COMPILE_SDK_VERSION@
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.opencv.tests"
|
|
|
|
minSdkVersion @ANDROID_MIN_SDK_VERSION@
|
|
|
|
targetSdkVersion @ANDROID_TARGET_SDK_VERSION@
|
|
|
|
versionCode 301
|
|
|
|
versionName "3.01"
|
|
|
|
|
|
|
|
testInstrumentationRunner "org.opencv.test.OpenCVTestRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
androidTest {
|
|
|
|
java.srcDirs = [@ANDROID_TESTS_SRC_DIRS@]
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
res.srcDirs = [@ANDROID_TESTS_RES_DIR@]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
|
|
implementation project(':opencv')
|
|
|
|
}
|