use of com.taobao.android.builder.extension.factory.TBuildTypeFactory in project atlas by alibaba.
the class AtlasPlugin method createExtendsion.
/**
* 设置插件的extension值
*/
protected void createExtendsion() {
final NamedDomainObjectContainer<TBuildType> buildTypeContainer = project.container(TBuildType.class, new TBuildTypeFactory(instantiator, project, project.getLogger()));
final NamedDomainObjectContainer<PatchConfig> patchConfigContainer = project.container(PatchConfig.class, new PatchConfigFactory(instantiator, project, project.getLogger()));
atlasExtension = project.getExtensions().create("atlas", AtlasExtension.class, project, instantiator, buildTypeContainer, patchConfigContainer);
}
Aggregations