1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #24554 from asmorkalov:as/android_sdk_local_props

Android AAR package build and test with CI
This commit is contained in:
Alexander Smorkalov
2023-11-28 15:17:06 +03:00
committed by GitHub
18 changed files with 107 additions and 14 deletions
@@ -29,8 +29,10 @@ android {
dependencies {
//implementation fileTree(dir: 'libs', include: ['*.jar'])
if (gradle.opencv_source == "sdk_path") {
println 'Using OpenCV from SDK'
implementation project(':opencv')
} else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_cenral") {
println 'Using OpenCV from Maven repo'
implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@'
}
}