Slackbot
07/13/2022, 2:47 PMSatyarth Sampath
07/13/2022, 2:48 PMgrossws
07/13/2022, 3:14 PMcom.android.library
just add project.pluginManager.apply("com.android.library")
.
If you want to do some configuration if that plugin applied to the project use project.pluginManager.withPlugin("com.android.library") { .. }
, action will be called after android plugin is applied and extension would be available.Satyarth Sampath
07/13/2022, 3:47 PMJavi
07/13/2022, 4:04 PMJendrik Johannes
07/14/2022, 6:12 AMplugins { id("com.android.library") }
as many times as you like. Gradle only applies it once. So the first place it is applied controls the order.Satyarth Sampath
07/14/2022, 6:52 AMVampire
07/14/2022, 4:14 PMbuildSrc
but always included builds, except for special cases like monkey-patching 3rd-party classes