Is there a way to split/factor out common parts of Gradle build

Posted by Superfilin on Stack Overflow See other posts from Stack Overflow or by Superfilin
Published on 2010-04-02T12:45:46Z Indexed on 2010/04/02 12:53 UTC
Read the original article Hit count: 363

Filed under:
|

We have several independent builds (each independent build is a multi-project build). The main build scripts become quite big as we have a set of common tasks reused by subprojects as well as there is a lot of repeation between indepedent builds. What we are looking for is:

  1. A way to split main build file into smaller files
  2. A way to reuse some parts of the build in other independent builds

What is the best way to achieve that in Gradle?

© Stack Overflow or respective owner

Related posts about gradle

Related posts about build-process