I want to use the same library project as a module for 2 different projects.
When I use the import module option, everything works fine except that it obviously copies the whole 'library project' to each project (phone & tablet) and sets it as a new module. This forces me to maintain 2 sources of the same 'library project', which is not the way I want to go.
Here's my folders structure:
root folder
phone project (folder)
app (module)
src
build.gradle
settings.gradle
gradle
...
tablet project (folder)
app (module)
src
build.gradle
settings.gradle
gradle
...
library project (folder)
app (module)
src
build.gradle
facebookSdk (module)
settings.gradle
gradle
...
I read some similar questions but it seems none of them fit to my scenario, for example this and that.
Is there a way to add the 'library project' as a module dependency in each project (phone & tablet) without duplicating it? a relative path somehow?
0 comments:
Post a Comment