Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DefaultJvmSoftwareComponent (0.34 sec)

  1. platforms/jvm/plugins-java/src/main/java/org/gradle/jvm/component/internal/DefaultJvmSoftwareComponent.java

     * a means of querying all variants of all features.
     */
    public abstract class DefaultJvmSoftwareComponent extends DefaultAdhocSoftwareComponent implements JvmSoftwareComponentInternal {
        private final RoleBasedConfigurationContainerInternal configurations;
    
        @Inject
        public DefaultJvmSoftwareComponent(
            String componentName,
            ObjectFactory objectFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:18:02 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/jvm/component/internal/DefaultJvmSoftwareComponentIntegrationTest.groovy

                    comp(JvmSoftwareComponentInternal)
                }
    
                task verify {
                    assert components.thing instanceof DefaultJvmSoftwareComponent
                    assert components.comp instanceof DefaultJvmSoftwareComponent
                }
            """
    
            expect:
            succeeds "verify"
        }
    
        def "can instantiate component instances in Kotlin DSL"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:18:02 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/DefaultJvmSoftwareComponentTest.groovy

            given:
            project.plugins.apply(JavaBasePlugin)
    
            expect:
            project.objects.newInstance(DefaultJvmSoftwareComponent, "name")
            project.objects.newInstance(DefaultJvmSoftwareComponent, "name2")
            project.objects.newInstance(DefaultJvmSoftwareComponent, "name3")
        }
    
        def "can add multiple feature instances to the same component"() {
            given:
            project.plugins.apply(JavaBasePlugin)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:18:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-fixtures/src/main/java/org/gradle/api/plugins/JavaTestFixturesPlugin.java

                true,
                false
            );
    
            feature.withApi();
    
            project.getPluginManager().withPlugin("java", plugin -> {
                DefaultJvmSoftwareComponent component = (DefaultJvmSoftwareComponent) JavaPluginHelper.getJavaComponent(project);
                component.getFeatures().add(feature);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top