Set cmake_minimum_required version to 3.22.1

On newer NDKs that make use of features like IN_LIST, older
cmake_minimum_required versions used in some of our CMakeLists.txt files
can cause build errors.

As the cmake version used for building is tied to the version
distributed by the NDK toolchain, bump the version across the repository
to the version the NDK supports. This will allow us to freely use the
features in the cmake binary available in the NDK.

Test: ./gradlew assembleRelease
Change-Id: I22a9182ccdaf41cb3a657fd47f35d343c41affbb
1 file changed
tree: aaa7cb313ca956a5e7b01f65223311730f0c5388
  1. icing/
  2. java/
  3. nativeLib/
  4. proto/
  5. .gitignore
  6. Android.bp
  7. build.gradle
  8. CMakeLists.txt
  9. CONTRIBUTING.md
  10. jarjar-rules.txt
  11. LICENSE
  12. lint-baseline.xml
  13. METADATA
  14. MODULE_LICENSE_APACHE2
  15. OWNERS
  16. README.md
  17. synced_AOSP_CL_number.txt
  18. TEST_MAPPING
README.md

Icing Search Library

Icing is a fast, embedded, mobile-friendly full-text-search library written in C++.

This is not an officially supported Google product.