permissions-dispatcher / PermissionsDispatcher

A declarative API to handle Android runtime permissions.
https://github.com/permissions-dispatcher/PermissionsDispatcher
Apache License 2.0
11.22k stars 1.44k forks source link

All the annotations classes are not included in the package since 3.3.1 #508

Closed whataa closed 6 years ago

whataa commented 6 years ago

Overview

These classes exist in versions 3.2.0 and earlier. Didn't anyone point it out ? image

hotchemi commented 6 years ago

We separated annotation module to make code loose coupled. Any issue because of it?

whataa commented 6 years ago

No issue, I just want to upgrade it. So, where is the annotation module and how can I import it? I do not see anything newer in the README.

hotchemi commented 6 years ago

Just updating version to 3.3.1 is supposed to be enough. if it doesn't work try clearing caches(Gradle, AS).

mannodermaus commented 6 years ago

If you really want to manually include the annotations, the artifact is called permissionsdispatcher-annotation. However, this should be a transitive dependency when you pull in permissionsdispatcher. Could you share your build.gradle file and how you pull in the library in the dependencies block? Also, do you use Jitpack? If so, please review the order in which the repositories are listed in your project, and make sure that jcenter() is above the Jitpack declaration.

whataa commented 6 years ago

I see, because I add transitive false for it. Thank you.

I suggest adding this to the README, maybe there exist others do it just like me.