From e5d1309fcfd8d60371883417f7401e59a085ddfd Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 28 Dec 2023 16:42:01 +0300 Subject: [PATCH] Fixed typo in Android build scripts. --- samples/android/15-puzzle/build.gradle.in | 2 +- samples/android/camera-calibration/build.gradle.in | 2 +- samples/android/color-blob-detection/build.gradle.in | 2 +- samples/android/face-detection/build.gradle.in | 2 +- samples/android/image-manipulations/build.gradle.in | 2 +- samples/android/mobilenet-objdetect/build.gradle.in | 2 +- samples/android/qr-detection/build.gradle.in | 2 +- samples/android/tutorial-1-camerapreview/build.gradle.in | 2 +- samples/android/tutorial-2-mixedprocessing/build.gradle.in | 4 ++-- samples/android/tutorial-3-cameracontrol/build.gradle.in | 2 +- samples/android/tutorial-4-opencl/build.gradle.in | 4 ++-- samples/android/video-recorder/build.gradle.in | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/samples/android/15-puzzle/build.gradle.in b/samples/android/15-puzzle/build.gradle.in index bf8921b98d..b2a8975dce 100644 --- a/samples/android/15-puzzle/build.gradle.in +++ b/samples/android/15-puzzle/build.gradle.in @@ -31,7 +31,7 @@ dependencies { 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') { + } else if (gradle.opencv_source == 'maven_local' || gradle.opencv_source == 'maven_central') { println 'Using OpenCV from Maven repo' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/camera-calibration/build.gradle.in b/samples/android/camera-calibration/build.gradle.in index d79df7777e..3cd3d9200e 100644 --- a/samples/android/camera-calibration/build.gradle.in +++ b/samples/android/camera-calibration/build.gradle.in @@ -31,7 +31,7 @@ dependencies { 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") { + } else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { println 'Using OpenCV from Maven repo' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/color-blob-detection/build.gradle.in b/samples/android/color-blob-detection/build.gradle.in index 6d544592a4..b0c50859f9 100644 --- a/samples/android/color-blob-detection/build.gradle.in +++ b/samples/android/color-blob-detection/build.gradle.in @@ -31,7 +31,7 @@ dependencies { if (gradle.opencv_source == "sdk_path") { println 'Using OpenCV from from SDK' 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' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/face-detection/build.gradle.in b/samples/android/face-detection/build.gradle.in index 6cc9d8cfb4..6fc4ce26c7 100644 --- a/samples/android/face-detection/build.gradle.in +++ b/samples/android/face-detection/build.gradle.in @@ -31,7 +31,7 @@ dependencies { if (gradle.opencv_source == "sdk_path") { println 'Using OpenCV from from SDK' 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' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/image-manipulations/build.gradle.in b/samples/android/image-manipulations/build.gradle.in index a227d548cf..b12701f377 100644 --- a/samples/android/image-manipulations/build.gradle.in +++ b/samples/android/image-manipulations/build.gradle.in @@ -31,7 +31,7 @@ dependencies { if (gradle.opencv_source == "sdk_path") { println 'Using OpenCV from from SDK' 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' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/mobilenet-objdetect/build.gradle.in b/samples/android/mobilenet-objdetect/build.gradle.in index 4cb1789e19..377d151d1b 100644 --- a/samples/android/mobilenet-objdetect/build.gradle.in +++ b/samples/android/mobilenet-objdetect/build.gradle.in @@ -31,7 +31,7 @@ dependencies { 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") { + } else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { println 'Using OpenCV from Maven repo' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/qr-detection/build.gradle.in b/samples/android/qr-detection/build.gradle.in index 274f0b4129..469dea609c 100644 --- a/samples/android/qr-detection/build.gradle.in +++ b/samples/android/qr-detection/build.gradle.in @@ -30,7 +30,7 @@ dependencies { //implementation fileTree(dir: 'libs', include: ['*.jar']) if (gradle.opencv_source == "sdk_path") { 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") { implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } } diff --git a/samples/android/tutorial-1-camerapreview/build.gradle.in b/samples/android/tutorial-1-camerapreview/build.gradle.in index a0d44eaf9a..deb9cf1b03 100644 --- a/samples/android/tutorial-1-camerapreview/build.gradle.in +++ b/samples/android/tutorial-1-camerapreview/build.gradle.in @@ -31,7 +31,7 @@ dependencies { 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") { + } else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { println 'Using OpenCV from Maven repo' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/tutorial-2-mixedprocessing/build.gradle.in b/samples/android/tutorial-2-mixedprocessing/build.gradle.in index 4125d65a38..e0f0a6b3c7 100644 --- a/samples/android/tutorial-2-mixedprocessing/build.gradle.in +++ b/samples/android/tutorial-2-mixedprocessing/build.gradle.in @@ -44,7 +44,7 @@ android { } } 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 } } @@ -55,7 +55,7 @@ dependencies { 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") { + } else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { println 'Using OpenCV from Maven repo' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/tutorial-3-cameracontrol/build.gradle.in b/samples/android/tutorial-3-cameracontrol/build.gradle.in index b7dffe86c5..d83f37d74e 100644 --- a/samples/android/tutorial-3-cameracontrol/build.gradle.in +++ b/samples/android/tutorial-3-cameracontrol/build.gradle.in @@ -31,7 +31,7 @@ dependencies { 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") { + } else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { println 'Using OpenCV from Maven repo' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/tutorial-4-opencl/build.gradle.in b/samples/android/tutorial-4-opencl/build.gradle.in index 4675156df2..d9c8cda60e 100644 --- a/samples/android/tutorial-4-opencl/build.gradle.in +++ b/samples/android/tutorial-4-opencl/build.gradle.in @@ -46,7 +46,7 @@ android { } } 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 } } @@ -57,7 +57,7 @@ dependencies { 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") { + } else if (gradle.opencv_source == "maven_local" || gradle.opencv_source == "maven_central") { println 'Using OpenCV from Maven repo' implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } diff --git a/samples/android/video-recorder/build.gradle.in b/samples/android/video-recorder/build.gradle.in index b279623803..506d98ce44 100644 --- a/samples/android/video-recorder/build.gradle.in +++ b/samples/android/video-recorder/build.gradle.in @@ -30,7 +30,7 @@ dependencies { //implementation fileTree(dir: 'libs', include: ['*.jar']) if (gradle.opencv_source == "sdk_path") { 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") { implementation 'org.opencv:opencv:@OPENCV_VERSION_PLAIN@' } }