opencv/modules/java/test/android_test/tests_module/build.gradle.in
2024-02-07 11:17:36 +03:00

37 lines
1005 B
Groovy

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')
}