|
|
@ -44,7 +44,7 @@ android { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
buildFeatures { |
|
|
|
buildFeatures { |
|
|
|
if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_cenral") { |
|
|
|
if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { |
|
|
|
prefab true |
|
|
|
prefab true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -55,7 +55,7 @@ dependencies { |
|
|
|
if (gradle.opencv_source == "sdk_path") { |
|
|
|
if (gradle.opencv_source == "sdk_path") { |
|
|
|
println 'Using OpenCV from SDK' |
|
|
|
println 'Using OpenCV from SDK' |
|
|
|
implementation project(':opencv') |
|
|
|
implementation project(':opencv') |
|
|
|
} else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_cenral") { |
|
|
|
} else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { |
|
|
|
println 'Using OpenCV from Maven repo' |
|
|
|
println 'Using OpenCV from Maven repo' |
|
|
|
implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' |
|
|
|
implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' |
|
|
|
} |
|
|
|
} |
|
|
|