Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Make application using library import only a single module #12

Closed
mcomella opened this issue Jun 17, 2017 · 0 comments
Closed

Make application using library import only a single module #12

mcomella opened this issue Jun 17, 2017 · 0 comments
Labels
ARCHIVED CLOSED at time of archiving

Comments

@mcomella
Copy link
Contributor

Currently, we have the user download the primary module and its dependencies (something like):

    compile(group: 'org.mozilla.sync', name: 'accounts', version: '0.0.1', ext: 'aar', classifier: '')
    compile(group: 'org.mozilla.sync', name: 'fennec', version: '0.0.1', ext: 'aar', classifier: '')
    compile(group: 'org.mozilla.sync', name: 'thirdparty', version: '0.0.1', ext: 'aar', classifier: '')

This is a side-effect to the way we publish resources because I couldn't figure out the right way (for more details, see ./publish.gradle). Instead, we want:

    compile 'org.mozilla.sync:accounts:0.0.1'

Ideally, we also ensure the dependencies are not visible to the application using our library. This works when the dependency is external (e.g. adding picasso to the accounts/ module will not expose it to the application) so it should be possible.

@ctbmozilla-admin ctbmozilla-admin added the ARCHIVED CLOSED at time of archiving label Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving
Projects
None yet
Development

No branches or pull requests

2 participants