Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for sourcesElements (0.22 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PluginVariantResolveIntegrationTest.groovy

                            implementationClass = 'com.acme.MyPlugin'
                        }
                    }
                }
    
                configurations.all {
                    if (it.canBeConsumed && it.name != 'sourcesElements' ) {
                        // let's pretend it was built with a newer Java version
                        attributes {
                            // This test is not Artic Code Vault safe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 12:51:28 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/internal/tasks/JvmConstants.java

        /**
         * The name of the sources elements configuration.
         *
         * @since 6.0
         */
        public static final String SOURCES_ELEMENTS_CONFIGURATION_NAME = "sourcesElements";
    
        /**
         * The name of the compile classpath configuration.
         *
         * @since 3.4
         */
        public static final String COMPILE_CLASSPATH_CONFIGURATION_NAME = "compileClasspath";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy

            given:
            buildFile << '''
                subprojects {
                    java {
                        withSourcesJar()
                    }
                    configurations {
                        sourcesElements.extendsFrom api, implementation
                    }
                }
            '''
    
            when:
            succeeds 'a:collectSources'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/OutgoingVariantsReportTaskIntegrationTest.groovy

            - org.gradle.usage               = java-runtime
        Artifacts
            - $builtMainResourcesPath (artifactType = java-resources-directory)
    
    --------------------------------------------------
    Variant sourcesElements
    --------------------------------------------------
    sources elements for main.
    
    Capabilities
        - org:myLib:1.0 (default capability)
    Attributes
        - org.gradle.category            = documentation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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