Repository navigation
ZHttp JVM #41
muhammadzkralla
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Remove Android-Specific Code and Dependencies
Overview
This PR focuses on making the library platform-independent by removing all Android-specific code and dependencies. The main changes include replacing Android log statements with
System.err.println()and eliminating any dependencies that were specific to the Android platform.Changes Made
android.util.LogwithSystem.err.println()for error messages andSystem.out.println()for general logs. This ensures compatibility across different JVM environments.build.gradlefile. This helps in ensuring that the library can be used in non-Android projects without pulling in unnecessary dependencies.build.gradleto remove configurations that were specific to Android, ensuring a clean setup for JVM-based projects.Impact
These changes make the library more versatile and usable in a wider range of projects, including Kotlin console applications and other JVM-based environments. By removing the Android-specific code and dependencies, the library is now more lightweight and easier to integrate into non-Android projects.
Verification
Conclusion
This PR makes the library more adaptable and platform-independent by removing Android-specific code and dependencies. It maintains the core functionalities while broadening the scope of potential use cases.
This discussion was created from the release ZHttp JVM.
All reactions