OpenHub icon indicating copy to clipboard operation
OpenHub copied to clipboard

Build issue related to dagger

Open jugendhacker opened this issue 4 years ago • 2 comments

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?

jugendhacker avatar Apr 09 '21 16:04 jugendhacker

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?

CodeCracker-oss avatar May 25 '21 06:05 CodeCracker-oss

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

jugendhacker avatar May 25 '21 08:05 jugendhacker