Skip to content

Commit

Permalink
Merge pull request #1529 from davidburstrom/main-explain-plugin-listing
Browse files Browse the repository at this point in the history
Explain why the plugins get listed in the root project build script
  • Loading branch information
dturner authored Sep 29, 2024
2 parents c79b1a3 + cde1607 commit c4ebde1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ buildscript {

}

// Lists all plugins used throughout the project
/*
* By listing all the plugins used throughout all subprojects in the root project build script, it
* ensures that the build script classpath remains the same for all projects. This avoids potential
* problems with mismatching versions of transitive plugin dependencies. A subproject that applies
* an unlisted plugin will have that plugin and its dependencies _appended_ to the classpath, not
* replacing pre-existing dependencies.
*/
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
Expand Down

0 comments on commit c4ebde1

Please sign in to comment.