Copy constructor using “initWith” for “productFlavors” and “sourceSets”

核能气质少年 提交于 2019-12-10 01:48:02

问题


With reference to this answer. Is it possible to create a copy constructor for productFlavors and sourceSets using initWith just like the one in the linked answer. That one worked great for buildTypes.

For buildTypes it was done this way:

debugfree.initWith(buildTypes.debug)

Is this possible for productFlavors and sourceSets as well?

来源:https://stackoverflow.com/questions/36199741/copy-constructor-using-initwith-for-productflavors-and-sourcesets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!