How to deal with Gradle and multi project configuration?

独自空忆成欢 提交于 2020-01-05 09:04:38

问题


I have several projects [A, B, C], A depends on B and C.

I want to move my projects to a multi project build configuration. Today my projects live on SVN, completely isolated.

I was wondering if the only way to use the multi project build feature is if I move the projects to the same repository, imagine something like:

MyPorject 
--A 
----build.gradle 
--B 
---build.gradle 
--C 
----build.gradle 
--build.gradle

Suggestions are welcome! Thanks!


回答1:


Well, I got 3 options from one guys of the Gradle project:

  • Always check out all three projects in the same relative locations, and make one of them the root
  • Use Subversion externals
  • Relocate all projects to a shared Subversion repository

Here http://forums.gradle.org/gradle/topics/how_to_deal_with_multi_project_configuration



来源:https://stackoverflow.com/questions/10856113/how-to-deal-with-gradle-and-multi-project-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!