diff options
Diffstat (limited to 'build-logic/README.md')
-rw-r--r-- | build-logic/README.md | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/build-logic/README.md b/build-logic/README.md index e8d18cbd..884eb582 100644 --- a/build-logic/README.md +++ b/build-logic/README.md @@ -1,7 +1,18 @@ -# About build-logic Module +# build-logic -This module aims to share common build logic for whole projects, previously we were using [buildSrc](https://docs.gradle.org/7.6/userguide/organizing_gradle_projects.html#sec:build_sources), -but for some reasons like "A change in buildSrc causes the whole project to become out-of-date", we are migrating to [composite builds](https://docs.gradle.org/7.6/userguide/composite_builds.html), -which avoids the side effects of buildSrc. +This project aims to share common build logic between subprojects. -For more information, you can ref https://proandroiddev.com/stop-using-gradle-buildsrc-use-composite-builds-instead-3c38ac7a2ab3.
\ No newline at end of file +In principle, this is similar to `buildSrc`, but this project utilizes [composite builds][1] to avoid various +[inconvenient side effects][2] of `buildSrc`. + +For more information, see [Sharing Build Logic between Subprojects][3] + +___ + +Note: the filename pattern used for convention plugins is inspired by how Gradle configures its +own convention plugins; [example project here][4]. + +[1]: https://docs.gradle.org/7.6/userguide/composite_builds.html +[2]: https://proandroiddev.com/stop-using-gradle-buildsrc-use-composite-builds-instead-3c38ac7a2ab3 +[3]: https://docs.gradle.org/8.4/userguide/sharing_build_logic_between_subprojects.html +[4]: https://github.com/gradle/gradle/tree/b165da7de15e70afb6cac564bf4aadf16aa157b3/build-logic/jvm/src/main/kotlin |