# Android app + library project in separate repo

**URL:** <https://discuss.circleci.com/t/android-app-library-project-in-separate-repo/9579>\
**Category:** Mobile\
**Tags:** android\
**Created:** [January 13, 2017, 3:11pm UTC](https://discuss.circleci.com/t/android-app-library-project-in-separate-repo/9579 "2017-01-13T15:11:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clivejefferies](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/clivejefferies/32/13769_2.png) [@clivejefferies](https://discuss.circleci.com/u/clivejefferies)\
**Post date:** [January 13, 2017, 3:11pm UTC](https://discuss.circleci.com/t/android-app-library-project-in-separate-repo/9579/1 "2017-01-13T15:11:02Z")

</div>

Hi,  
I have two projects, an android app and android library project which are in separate repos. Locally they are build by checking them out at the same level in the same folder and the app referencing the library project in Gradle:

```
    include ':[NAME]'
    project(':[NAME]').projectDir = new File(settingsDir, '[DIR PATH]')

```

Currently we are thinking that we will need to host the library project binary on something like Jitpack and reference it as a dependency. However, I was wondering if it is possible to do something like above. Checkout both repos and have one reference the other from the .gradle file.

Thanks,

Clive

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:33am UTC](https://discuss.circleci.com/t/android-app-library-project-in-separate-repo/9579/2 "2018-06-18T11:33:36Z")

</div>


