liinahamari / Follower

Follower - background movement tracker with OpenStreetMap (osmdroid) used for observing tracks
MIT License
2 stars 2 forks source link

Custom attributes of dependency's dependency creates problems with application's compilation #21

Closed liinahamari closed 3 years ago

liinahamari commented 3 years ago

Dependency Loggy uses ExpandableLayout dependency to render error logs in dashboard. ExpandableLayout have custom attributes declared, such as el_duration and el_expanded. If application doesn't have ExpandableLayout dependency (doesn't matter is it used in exact application itself or not), project won't copile: ERROR:/home/user/.gradle/caches/transforms-2/files-2.1/e7492b61a/loggy_sdk-debug/res/layout/item_error_log.xml:57: AAPT: error: attribute el_duration (aka dev.liinahamari.follower:el_duration) not found. The only workaround found for this moment is duplicate dependency in application itself too.