miqbaldc
03/26/2021, 11:00 AMbuild.gradle.kts
inside buildSrc
to be used as a common/base dependencies, such as:
// myapp2/build.gradle
apply plugin: 'commons.android-dynamic-feature'
// myapp3/build.gradle
apply plugin: 'commons.android-dynamic-feature'
_*Problems*_:
// image on the left
com.android.build.gradle.internal.dsl.BaseAppModuleExtension
// image on the middle
com.android.build.gradle.AppExtension
I’ve 3 gradle files
1. |-app/build.gradle.kts
2. |-buildSrc/build.gradle.kts // this is to configure below
3. |-buildSrc/commons/build.gradle.kts
In the no. 3, is using AppExtension
instead of BaseAppModuleExtension
,
with AppExtension
, I’m unable to define android.buildFeatures.*
(see image on the right)
lmk if you guys needs more information to know about this 🙏miqbaldc
03/26/2021, 12:00 PMmiqbaldc
03/26/2021, 12:01 PMmiqbaldc
03/26/2021, 2:10 PMbuildFeatures as DynamicFeatureBuildFeatures
the only cons was the warning (image on the left)