Colton Idle
11/17/2025, 7:43 AMapply plugin is called?
I have an android app module build file that I'm migrating to kts and I noticed that we have apply plugin: "com.google.gms.google-services line at the bottom of the build file. Now I'm wondering if theres any reason why it would be at the bottom vs the 10 plugins at the top of the file. seems like someone in the past made a concious decision to put it at the bottom?Vampire
11/17/2025, 7:47 AMapply at all, that is legacy and discouraged.
You should always use the plugins block to apply plugins.
But yes, there could be a reason, if you do something in the code before that influences what happens in that plugin application.Colton Idle
11/17/2025, 8:10 AMVampire
11/17/2025, 8:41 AM