tree: bf3af1c15c4ce0dbe7cbd058b525503b6aeed38e [path history] [tgz]
  1. apply/
  2. jetpad-integration/
  3. plugins/
  4. private/
  5. public/
  6. res/
  7. build.gradle
  8. dependencies.gradle
  9. kotlin-dsl-dependency.gradle
  10. lint.xml
  11. lint_samples.xml
  12. out.gradle
  13. OWNERS
  14. README.md
  15. remoteBuildCache.gradle
  16. repos.gradle
  17. settings.gradle
  18. shared.gradle
buildSrc/README.md

This is the buildSrc project. Gradle builds (and tests) this project before the other projects, and Gradle adds its artifacts into the classpath of the other projects when configuring them.

Tests for the buildSrc project are located in the buildSrc-tests project, so that the build doesn't need to wait for those tests to complete

To run these tests you can run ./gradlew :buildSrc-tests:test

For information about Gradle's configuration caching, see:

The buildSrc directory is split into multiple projects based on what needs to be available on the classpath when parsing build.gradle files outside of buildSrc. Any classes that Gradle puts on the classpath for parsing build.gradle files can theoretically overwrite the implementation of tasks in those projects. So, if a class is on that classpath and it changes then Gradle is not confident that the task is necessarily up-to-date and Gradle will rerun it. So, we move as many classes as possible off of this classpath by applying them from within a separate .gradle script instead.

See also b/140265324 for more information.