A simple Hacker News (https://news.ycombinator.com) reader app using the Hacker News API (https://github.com/HackerNews/API).
This project has undergone a first phase of modernization to update its core dependencies and build configuration. Key changes include:
- Build Tools:
- Upgraded to Android Gradle Plugin version 8.2.2.
- Upgraded to Gradle version 8.2.
- AndroidX Migration:
- Migrated from legacy Android Support Libraries to AndroidX libraries.
- API Levels:
compileSdkVersionupdated to 33.targetSdkVersionupdated to 33.
- Crash Reporting:
- Replaced Fabric Crashlytics with Firebase Crashlytics.
- Java Version:
- The project continues to use Java 8, with Retrolambda removed as modern AGP versions provide native support.
To build this project, you will need:
- A configured Android SDK. Ensure your environment (e.g.,
ANDROID_HOMEenvironment variable orlocal.propertiesfile withsdk.dir) points to a valid Android SDK installation. - Java Development Kit (JDK) compatible with AGP 8.2.2 and Gradle 8.2 (typically JDK 17).
Then, you can build using Gradle:
./gradlew assembleDebugNote on CI (CircleCI): The existing CircleCI configuration (circle.yml) was designed for the older project structure and dependencies. It will require a significant review and update in a subsequent phase to align with the current modernized setup (including AndroidX, updated AGP/Gradle, JDK requirements, and potential SDK environment setup for CI). The current badge may not reflect the build status of the modernized codebase.