Use ConnectivityManager to monitor network status. This does takes away the ability to
auto-retry requests when network is restored but we can look into that later on.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Current version is outdated and it was mainly here for Android 4.4 support.
Move to Okhttpclient instead.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This has been dead for a while already, remove the code and bump minSdk to a
version that actually works
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Gives almost same effect as FlexLayoutManager and is part of recyclerview
library letting us drop an additional dependency
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Java version should be consistent for all tasks
"It has been possible to configure Gradle to build a project
with a different Java version than the one used to run Gradle. However,
it has required configuring each task like compilation, test, and javadoc separately.
Gradle 6.7 introduces “Java toolchain support”. In a nutshell,
it allows you to run Gradle with whatever version of Java you have installed,
while Gradle builds the project with the version of Java declared in a single place.
Gradle will automatically configure the build, detect already installed
JDKs and download the required JDK if it is not already installed."
More at https://blog.gradle.org/java-toolchains
Signed-off-by: Patryk Mis <foss@patrykmis.com>
Translations are done by volunteers when possible, so no need to make it an error.
Also our translation platform has issues for now that makes it a legit case to be ignored.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
- Going forward we aim to tag the gplayapi for better versioning.
- 3.0.1 which is the current version uses protobuf-javalite causes
issues when used with protobuf-java, so also switch to lite.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
We will have tests later on, add back missing dependencies
for starters to fix broken project compilation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.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>