org.gradle.api.component.SoftwareComponentContainer Java Examples
The following examples show how to use
org.gradle.api.component.SoftwareComponentContainer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CppPublicMacrosPlugin.java From native-samples with Apache License 2.0 | 5 votes |
private static void configurePublishing(SoftwareComponentContainer components, Project project, Configuration cppPublicMacrosElements) { components.withType(PublicationAwareComponent.class, new Action<PublicationAwareComponent>() { @Override public void execute(PublicationAwareComponent component) { MainLibraryVariant mainVariant = (MainLibraryVariant) component.getMainPublication(); mainVariant.addVariant(new PublicMacrosVariantComponent(project.getObjects(), project.getGroup().toString(), project.getName() + "_publicMacros", project.getVersion().toString(), cppPublicMacrosElements)); } }); }
Example #2
Source File: AbstractProject.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
@Inject public SoftwareComponentContainer getComponents() { // Decoration takes care of the implementation throw new UnsupportedOperationException(); }
Example #3
Source File: ProjectScopeServices.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
protected SoftwareComponentContainer createSoftwareComponentContainer() { Instantiator instantiator = get(Instantiator.class); return instantiator.newInstance(DefaultSoftwareComponentContainer.class, instantiator); }
Example #4
Source File: AbstractProject.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public SoftwareComponentContainer getComponents() { return softwareComponentContainer; }
Example #5
Source File: ProjectScopeServices.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
protected SoftwareComponentContainer createSoftwareComponentContainer() { Instantiator instantiator = get(Instantiator.class); return instantiator.newInstance(DefaultSoftwareComponentContainer.class, instantiator); }
Example #6
Source File: AbstractProject.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
@Inject public SoftwareComponentContainer getComponents() { // Decoration takes care of the implementation throw new UnsupportedOperationException(); }
Example #7
Source File: ProjectScopeServices.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
protected SoftwareComponentContainer createSoftwareComponentContainer() { Instantiator instantiator = get(Instantiator.class); return instantiator.newInstance(DefaultSoftwareComponentContainer.class, instantiator); }
Example #8
Source File: AbstractProject.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public SoftwareComponentContainer getComponents() { return softwareComponentContainer; }
Example #9
Source File: ProjectScopeServices.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
protected SoftwareComponentContainer createSoftwareComponentContainer() { Instantiator instantiator = get(Instantiator.class); return instantiator.newInstance(DefaultSoftwareComponentContainer.class, instantiator); }
Example #10
Source File: Project.java From pushfish-android with BSD 2-Clause "Simplified" License | 2 votes |
/** * Returns the software components produced by this project. * * @return The components for this project. */ @Incubating SoftwareComponentContainer getComponents();
Example #11
Source File: Project.java From pushfish-android with BSD 2-Clause "Simplified" License | 2 votes |
/** * Returns the software components produced by this project. * * @return The components for this project. */ @Incubating SoftwareComponentContainer getComponents();
Example #12
Source File: Project.java From javaide with GNU General Public License v3.0 | 2 votes |
/** * Returns the software components produced by this project. * * @return The components for this project. */ @Incubating SoftwareComponentContainer getComponents();
Example #13
Source File: Project.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 2 votes |
/** * Returns the software components produced by this project. * * @return The components for this project. */ @Incubating SoftwareComponentContainer getComponents();
Example #14
Source File: Project.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 2 votes |
/** * Returns the software components produced by this project. * * @return The components for this project. */ @Incubating SoftwareComponentContainer getComponents();