ThirtyDegreesRay / OpenHub

An open source GitHub Android client app, faster and concise.
https://thirtydegreesray.github.io/OpenHub/
GNU General Public License v3.0
4.23k stars 413 forks source link

Build issue related to dagger #386

Open jugendhacker opened 3 years ago

jugendhacker commented 3 years ago

Hi, I'm currently trying to build this project for F-Droid. Therefore I'm building with gradle, but without Android Studio. So from CLI. If I run gradle assembleNormal in a fresh clone of this repo, it fails because multiple classes are not generated like com.thirtydegreesray.openhub.inject.component.DaggerAppComponent for example. If I change dagger version in gradle.properties to 2.12 everything works and I get a working APK. Could you either fix it with version 2.11 or change it to 2.12?

CodeCracker-oss commented 3 years ago

I am also having this same issue, which changing to version 2.12 of dagger does indeed fixed the errors. Any update on this from the developer?

jugendhacker commented 3 years ago

Maybe depends on Java version. On F-Droid build server (Java 8) it works: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/8762#note_549231480