use of org.jetbrains.android.facet.AndroidFacetType in project android by JetBrains.
the class AndroidFacetModuleSetupStep method createAndAddFacet.
@NotNull
private static AndroidFacet createAndAddFacet(@NotNull Module module, @NotNull IdeModifiableModelsProvider ideModelsProvider) {
ModifiableFacetModel model = ideModelsProvider.getModifiableFacetModel(module);
AndroidFacetType facetType = AndroidFacet.getFacetType();
AndroidFacet facet = facetType.createFacet(module, AndroidFacet.NAME, facetType.createDefaultConfiguration(), null);
model.addFacet(facet);
return facet;
}
Aggregations