All Gradle wrapper files were updated as per instructions from Android Gradle Plugin's release notes (with one exception explained below):
gradlew wrapper --gradle-version 7.6.1 --distribution-type bin --gradle-distribution-sha256-sum 6147605a23b4eff6c334927a86ff3508cb5d6722cd624c97ded4c2e8640f1f87
--gradle-distribution-sha256-sum switch ads additional verification of downloaded Gradle distribution (as explained at https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:verification) for security reasons.
Version 7.6.1 is the latest from v7.x.x series, which is supported by the Android Gradle Plugin v7.4.2.
It contains various improvements and fixes documented at https://docs.gradle.org/7.6.1/release-notes.html.
Keeping up to date with the latest versions is good practice for various reasons, including (but not limited to) potential security fixes.
Signed-off-by: Patryk Mis <foss@patrykmis.com>
- Enable java 11 language features
- Switch to groovy syntax
- Switch to new gradle plugins and dependency configuration
- Drop deprecated properties
- Switch from buildscript to project.ext closure for version property
- Update dependencies to latest stable versions
- Address build errors arising due to dependencies update
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
* Updated gradle version and dependencies
* Bumped compileSdkVersion and targetSdkVersion to 31
* Added support for updates without user action
* Bumped versionCode and versionName
Changes required by API level 31:
* Added explicit exported tags to activities and receivers
* Added explicit IMMUTABLE|MUTABLE flags to PendingIntents