ModularSample
ModularSample copied to clipboard
How to merge resource ?
Dear Sir
i use product_flavors
the flavor is to much !!
so the project size is bigger!!
now we want packing flavor resource as aar file
and then push those flavor`s aar to maven sever
in app {main}
i use the same namespace ,like : R.color.blue1
when i change flavor , like : flavor1 --> flavor2
i dependencies different resource aar , like :
dependencies {
implementation 'com.flavor.resource:flavor1:1.0.1'
}
to
dependencies {
implementation 'com.flavor.resource:flavor2:1.0.1'
}
i can direct build apk do not modify anything
THX