Тёмный

Gradle Summit 2017 - Multi repo development with Composite Builds - Daz DeBoer 

Подписаться
Просмотров 4,2 тыс.
% 56

Working with large projects across multiple teams requires a modular approach to software development, but traditional developer tooling hasn't made it easy. Working with code located in multiple repositories tends to be cumbersome, and at times painful.
Gradle Composite Builds aim to ease some of this pain, by allowing you to combine multiple independent Gradle builds into an integrated whole.
This presentation will demonstrate the use of Composite Builds to modularize a monolithic software project and to work on code living across multiple repositories. With a few simple techniques, you'll learn how to use composite builds to streamline your multi-repository development, from IDEs to CI pipelines.
What are composite builds?
Composite Builds allow you to combine multiple independent Gradle builds into a single integrated build. Binary dependencies are automatically replaced with project dependencies, and when you make a change to an upstream component, it is immediately visible to its dependents. You can import composite builds into the IDE and work on them as if you were looking at a single code base.
Composite builds also simplify the process of splitting a large mono-repo into smaller parts that can be worked on individually. This makes the migration path toward separated repositories simple. And thanks to Gradle's rich DSL, you can compose builds dynamically.
What you'll learn
Starting with a monolithic mono-repo application, this presentation will demonstrate how composite builds can be used in a number of common development scenarios:
Debug and patch an upstream dependency that lives in a separate repository
Extract and publish a library dependency from a monolithic application
Extract and publish a Gradle plugin from custom build logic
Compose a workspace for co-development of several separate Gradle projects

Кино

Опубликовано:

 

24 июн 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@dimitriskaravias1427
@dimitriskaravias1427 6 лет назад
This guy is really good at explaining step by step. I liked how he makes a point of not "making it seem like magic".
@KangoV
@KangoV 5 лет назад
How do you handle multiple levels of dependencies the same way Maven does? Maven handles this in the IDEs without having to update the pom.xml. It's completely transparent and also works on the dependency version.
@wilkystorm
@wilkystorm 5 лет назад
I think this is really groovy (pun intended) but I am wondering, could composite builds be used to chain together the building of inter-dependent libraries on a continuous build system like teamcity or jenkins? and what i am trying to accomplish also is automated rebuilding of downstream libraries when libraries they depend upon have been changed. if that makes sense
@temabraha1102
@temabraha1102 3 года назад
Hi! Did you ever figure this out with jenkins? Currently working on this
@gajendrag1
@gajendrag1 6 лет назад
👍
@yw5891
@yw5891 5 лет назад
Is it possible to get source code at github?
@gajendrag1
@gajendrag1 6 лет назад
What is gradle publish task is all about didnot get reference for the same.