Android Gradle build with sub projects

后端 未结 5 1829
半阙折子戏
半阙折子戏 2020-12-04 08:02

I am currently in the process of converting one of our projects to Gradle from maven. The folder structure is as follows:

gitRoot
    settings.gradle
    bui         


        
5条回答
  •  一向
    一向 (楼主)
    2020-12-04 08:21

    I would just have the app with the libraries all at the same level. You can still build and package each library based on the build.gradle file. I might be missing something, but the structure isn't as important as what's in the build.gradle files. You could still have projectB depend on Facebook, even if they are at the same folder level.

提交回复
热议问题