hfhbd
12/15/2022, 11:23 AMandroid extension with the type of CommonExtensionDaniel B Duval
12/15/2022, 1:49 PMgalex
12/20/2022, 12:42 PMhfhbd
12/20/2022, 1:04 PMDaniel B Duval
12/20/2022, 1:51 PMbuild-conventions source, you’d have your script, e.g., myapplication-application-conventions and myapplication-library-conventions as a plug in script.
At the top of the convention, you’d apply the plug in. e.g (in library convetion):
plugins {
id("com.android.library")
}
android {
//build logic for all libraries
}
Then in a library build script (same would hold for your application):
plugins {
id("myapplication-library-conventions")
}
// add anything additional the library may need, such as testNamespacehfhbd
12/20/2022, 2:19 PMCommonExtension.Daniel B Duval
12/20/2022, 2:47 PMApplicationExtension , DynamicFeatureExtension , LibraryExtension and TestExtension are?