Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for withJavadocJar (0.21 sec)

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

            return null;
        }
    
        @Override
        public void withJavadocJar() {
            maybeEmitMissingJavaComponentDeprecation("withJavadocJar()");
    
            if (isJavaComponentPresent(project)) {
                project.getComponents().withType(JvmSoftwareComponentInternal.class).configureEach(JvmSoftwareComponentInternal::withJavadocJar);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 19:59:45 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaProjectOutgoingVariantsIntegrationTest.groovy

    allprojects {
        repositories { maven { url '${mavenRepo.uri}' } }
    }
    
    project(':other-java') {
        apply plugin: 'java'
        java {
            withJavadocJar()
            withSourcesJar()
        }
    }
    
    project(':java') {
        apply plugin: 'java'
        java {
            withJavadocJar()
            withSourcesJar()
        }
        dependencies {
            implementation project(':other-java')
            implementation files('file-dep.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

            implSubprojectBuildFile.text.contains(TextUtil.toPlatformLineSeparators('''
    java {
        withJavadocJar()
    }'''))
            when:
            run 'clean', 'build'
    
            then: //smoke test the build artifacts
            targetDir.file("webinar-api/build/libs/webinar-api-1.0-SNAPSHOT.jar").exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java

                    }
                    if (packagesJavadocs(module)) {
                        ScriptBlockBuilder javaExtension = moduleScriptBuilder.block(null, "java");
                        javaExtension.methodInvocation(null, "withJavadocJar");
                    }
    
                    moduleScriptBuilder.create(workingDir).generate();
                }
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaPluginExtension.java

         * if it should only be built locally by calling or wiring the ':javadocJar' task.
         *
         * @since 6.0
         */
        void withJavadocJar();
    
        /**
         * Adds a task {@code sourcesJar} that will package the Java sources of the main {@link org.gradle.api.tasks.SourceSet SourceSet} in a JAR with classifier {@code sources}.
         * <P>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top