Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sourcesElements (0.23 sec)

  1. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java

                project
            );
        }
    
        @Override
        public void withSourcesJar() {
            if (sourcesElements != null) {
                return;
            }
            this.sourcesElements = JvmPluginsHelper.createDocumentationVariantWithArtifact(
                sourceSet.getSourcesElementsConfigurationName(),
                SourceSet.isMain(sourceSet) ? null : name,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/DefaultJavaPluginExtension.java

                }
    
                Configuration sourcesElements = feature.getSourcesElementsConfiguration();
                if (sourcesElements != null) {
                    adhocComponent.addVariantsFromConfiguration(sourcesElements, new JavaConfigurationVariantMapping("runtime", true));
                }
    
                if (spec.isPublished()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 19:59:45 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

              - Value: 'javadoc' selects variant: 'javadocElements'
              - Value: 'sources' selects variant: 'sourcesElements'""")
    
            and: "Helpful resolutions are provided"
            assertSuggestsReviewingAlgorithm()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                        components.java.withVariantsFromConfiguration(configurations.${MavenJavaModule.variantName(it, 'sourcesElements')}) { skip() }
                    }
                """ }.join('')}
            """)
    
            when:
            fails "publish"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy

                plugins {
                    id 'java'
                }
    
                // A resolvable configuration to collect source data
                def sourceElementsConfig = configurations.create("sourceElements") {
                    visible = true
                    assert canBeResolved
                    canBeConsumed = false
                    attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/java_plugin.adoc

    Automatically packages Javadoc and creates a variant `javadocElements` with an artifact `-javadoc.jar`, which will be part of the publication.
    
    `withSourcesJar()`::
    Automatically packages source code and creates a variant `sourceElements` with an artifact `-sources.jar`, which will be part of the publication.
    
    === Directory properties
    
    `String reporting.baseDir`::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 36.1K bytes
    - Viewed (0)
Back to top