Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for withJavadocJar (0.26 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                    ${features().findAll { it != MavenJavaModule.MAIN_FEATURE }.collect { "registerFeature('$it') { usingSourceSet(sourceSets.${it}SourceSet); ${withDocs() ? 'withJavadocJar(); withSourcesJar()' : ''} }" }.join('\n')}
                    ${withDocs() ? 'withJavadocJar(); withSourcesJar()' : ''}
                }
    
                publishing {
                    repositories {
                        maven { url "${mavenRepo.uri}" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  2. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy

                apply plugin: "java-library"
                apply plugin: "maven-publish"
    
                group = "org.gradle"
                version = "1.0"
    
                java {
                    withJavadocJar()
                }
    
                javadocJar {
                    enabled = Boolean.parseBoolean(project.getProperty("javadocEnabled"))
                }
    
                publishing {
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/OutgoingVariantsReportTaskIntegrationTest.groovy

        }
    
        def "reports outgoing variants of a Java Library with documentation"() {
            buildFile << """
                plugins { id 'java-library' }
                java {
                    withJavadocJar()
                    withSourcesJar()
                }
                group = 'org'
                version = '1.0'
            """
    
            when:
            run ':outgoingVariants'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_ivy.adoc

    * The Ivy module metadata file: `ivy-1.0.xml`.
    * The primary JAR artifact for the Java component: `project1-1.0.jar`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java

                project.getConfigurations().getByName(JvmConstants.TEST_COMPILE_CLASSPATH_CONFIGURATION_NAME).extendsFrom(compileOnlyApi);
            }
        }
    
        @Override
        public void withJavadocJar() {
            if (javadocElements != null) {
                return;
            }
            this.javadocElements = JvmPluginsHelper.createDocumentationVariantWithArtifact(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/java_plugin.adoc

    _Note that using a <<toolchains.adoc#toolchains, toolchain>> is preferred to using a compatibility setting for most cases._
    
    === Packaging
    
    `withJavadocJar()`::
    Automatically packages Javadoc and creates a variant `javadocElements` with an artifact `-javadoc.jar`, which will be part of the publication.
    
    `withSourcesJar()`::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    Starting in Gradle 8.1, calling any of the following methods on `JavaPluginExtension` without
    the presence of the default `java` component is deprecated:
    
    - `withJavadocJar()`
    - `withSourcesJar()`
    - `consistentResolution(Action)`
    
    This `java` component is added by the `JavaPlugin`, which is applied by any of the Gradle JVM plugins including:
    
    - `java-library`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top