Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Say I have a sub-project called api which generates an api.yaml. I have another sub-project service which has a task processApiFile which takes in an api file in its task configuration.

What is the proper way to share this file between sub-projects using Gradle artifacts in a multi-project build? i.e. What should the build.gradle files look like to support this functionality?

.
├── api
│   ├── src
│   │   └── main
│   │       └── resources
│   │           └── api.yaml
│   └── build.gradle
├── service
│   ├── src
│   │   └── ...
│   └── build.gradle
└── settings.gradle

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
312 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...