Android studio add external project to build.gradle

后端 未结 6 2028
半阙折子戏
半阙折子戏 2020-11-22 16:16

I have a sample project, with the following setup:

/root
  + Pure Java Lib
  + Android Test Lib
  + Android Test Project

Where the \'Te

6条回答
  •  被撕碎了的回忆
    2020-11-22 16:46

    Assuming that Some Other Folder is a gradle project you could add something like the following to your settings.gradle file:

    include ':module1'
    project(':module1').projectDir = new File(settingsDir, '../Project B/Module 1')
    

提交回复
热议问题