There is an android studio project that makes use of a library called com.github.nanchen2251:CompressHelper:1.0.6. The same was added in the build.gradle as an implementation in the dependencies section.
But unfortunately while trying to sync gradle the same dependency fails, gateway is returning bad request. But at the same time I was able to locate the master branch in git (https://github.com/nanchen2251/CompressHelper).
Is it possible to download the source code, convert it into a jar or an aar and include in the project directly??
Also, can any of you guys suggest a good or better alternative than the mentioned library?
Updated the dependency as per @ianovir comments but getting the following build failed report.
FAILURE: Build completed with 4 failures.
1: Task failed with an exception.
- What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find compresshelper-1.0.6.jar (com.github.nanchen2251:compresshelper:1.0.6). Searched in the following locations: https://jitpack.io/com/github/nanchen2251/compresshelper/1.0.6/compresshelper-1.0.6.jar
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================
2: Task failed with an exception.
- What went wrong: Execution failed for task ':app:desugarDebugFileDependencies'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find compresshelper-1.0.6.jar (com.github.nanchen2251:compresshelper:1.0.6). Searched in the following locations: https://jitpack.io/com/github/nanchen2251/compresshelper/1.0.6/compresshelper-1.0.6.jar
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================
3: Task failed with an exception.
- What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find compresshelper-1.0.6.jar (com.github.nanchen2251:compresshelper:1.0.6). Searched in the following locations: https://jitpack.io/com/github/nanchen2251/compresshelper/1.0.6/compresshelper-1.0.6.jar
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================
4: Task failed with an exception.
- What went wrong: Execution failed for task ':app:kaptGenerateStubsDebugKotlin'.
Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not find compresshelper-1.0.6.jar (com.github.nanchen2251:compresshelper:1.0.6). Searched in the following locations: https://jitpack.io/com/github/nanchen2251/compresshelper/1.0.6/compresshelper-1.0.6.jar
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 6s 49 actionable tasks: 44 executed, 5 up-to-date