apply plugin: 'com.android.application' apply plugin: 'kotlin-android' 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') }