Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for withJavadocJar (0.28 sec)

  1. build-logic/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

        )
        publishing.publications.configureEach {
            if (signArtifacts) {
                signing.sign(this)
            }
        }
    }
    
    fun configureJavadocVariant() {
        java {
            withJavadocJar()
        }
        tasks.named<Javadoc>("javadoc") {
            // See GradleJavadocsPlugin.generateJavadocs() and the javadocsAll task
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningIntegrationSpec.groovy

            )
        }
    
        String getJavadocAndSourceJarsScript(String configurationName = null) {
            def javaPluginConfig = """
                java {
                    withJavadocJar()
                    withSourcesJar()
                }
            """
    
            if (configurationName == null) {
                javaPluginConfig
            } else {
                javaPluginConfig + """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeaturePublishingIntegrationTest.groovy

                }
    
                java {
                    registerFeature("integTestFixtures") {
                        usingSourceSet sourceSets.integTestFixtures
                        if ($javadocs) { withJavadocJar() }
                        if ($sources) { withSourcesJar() }
                        if (!$published) { disablePublication() }
                    }
                }
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/JvmDerivedVariantsIntegrationTest.groovy

    rootProject.name = 'test'
    include 'consumer'
    """
            buildFile << """
    plugins {
        id 'java'
        id 'maven-publish'
    }
    
    group = "com.example"
    version = "1.0"
    
    java {
        withJavadocJar()
        withSourcesJar()
    }
    
    publishing {
        repositories {
            mavenLocal()
        }
        publications {
            maven(MavenPublication) {
                from components.java
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 18 19:46:19 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/jvm/component/internal/JvmSoftwareComponentInternal.java

         * this method also configures the necessary configurations and tasks required to produce
         * the javadoc artifact.
         */
        void withJavadocJar();
    
        /**
         * Configures this component to publish a sources jar alongside the primary artifacts. As a result,
         * this method also configures the necessary configurations and tasks required to produce
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:17:58 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishIssuesIntegTest.groovy

                apply plugin: "java-library"
                apply plugin: "ivy-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
    - 7.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top