ext { minSdkVersion = 23 // Play requires new uploads to target a recent API. 36 is what ClearAudit had to move to. compileSdkVersion = 36 targetSdkVersion = 36 androidxActivityVersion = '1.9.3' androidxAppCompatVersion = '1.7.0' androidxCoordinatorLayoutVersion = '1.2.0' androidxCoreVersion = '1.15.0' androidxFragmentVersion = '1.8.5' coreSplashScreenVersion = '1.0.1' androidxWebkitVersion = '1.12.1' junitVersion = '4.13.2' androidxJunitVersion = '1.2.1' androidxEspressoCoreVersion = '3.6.1' cordovaAndroidVersion = '10.1.1' // 16 KB page size: devices from Android 15 onward can use 16 KB memory pages, and Play // rejects uploads whose native libraries aren't aligned for them. These are the versions // that ship 16 KB-aligned .so files — the same pin ClearAudit needed. mlkitBarcodeScanningVersion = '17.3.0' playServicesMlkitBarcodeScanningVersion = '18.3.1' // The MLKit plugin reads these four names individually — set them all, or it silently // falls back to CameraX 1.1.0, whose libimage_processing_util_jni.so is only 4 KB-aligned // and gets the upload rejected. androidxCameraCamera2Version = '1.4.2' androidxCameraCoreVersion = '1.4.2' androidxCameraLifecycleVersion = '1.4.2' androidxCameraViewVersion = '1.4.2' }