Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 474 for publishing (0.68 sec)

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

     * limitations under the License.
     */
    
    package org.gradle.api.publish.maven
    
    import org.gradle.integtests.fixtures.publish.maven.AbstractMavenPublishIntegTest
    
    /**
     * Tests publishing of maven snapshots
     */
    class MavenPublishSnapshotIntegTest extends AbstractMavenPublishIntegTest {
        def "can publish snapshot versions"() {
            settingsFile << 'rootProject.name = "snapshotPublish"'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 12:20:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishFeaturesJavaIntegTest.groovy

        MavenFileModule module = mavenRepo.module("org.gradle.test", "publishTest", "1.9")
        MavenJavaModule javaLibrary = javaLibrary(module)
    
        def setup() {
            createBuildScripts("""
                publishing {
                    publications {
                        maven(MavenPublication) {
                            from components.java
                        }
                    }
                }
    """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/AbstractIvyPublishFeaturesJavaIntegTest.groovy

        IvyFileModule module = ivyRepo.module("org.gradle.test", "publishTest", "1.9")
        IvyJavaModule javaLibrary = javaLibrary(module)
    
        def setup() {
            createBuildScripts("""
                publishing {
                    publications {
                        ivy(IvyPublication) {
                            from components.java
                        }
                    }
                }
    """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part4_gradle_plugins.adoc

    ------------------------------------------------------------
    
    ...
    
    Publishing tasks
    ----------------
    publish - Publishes all publications produced by this project.
    publishToMavenLocal - Publishes all Maven publications produced by this project to the local Maven cache.
    ----
    
    A new set of publishing tasks are now available called `publish`, and `publishToMavenLocal`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 13 11:29:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/distribution_plugin.adoc

    .Adding distribution archives to an Ivy publication
    ====
    include::sample[dir="snippets/ivy-publish/distribution/kotlin",files="build.gradle.kts[tags=publishing]"]
    include::sample[dir="snippets/ivy-publish/distribution/groovy",files="build.gradle[tags=publishing]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy

            """
                plugins {
                    id 'maven-publish'
                }
    
                publishing {
                    repositories {
                        maven { url "${mavenRepo.uri}" }
                    }
                }
    
                // Need to implement SoftwareComponentInternal since publishing assumes all components are internal.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsPublishingIntegrationTest.groovy

            given:
            buildFile << testablePluginProject()
            buildFile << """
                apply plugin: 'maven-publish'
    
                publishing {
                    publications {
                        mavenJava(MavenPublication) {
                            from components.java
                        }
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/signing/maven-publish/kotlin/build.gradle.kts

    version = "1.0"
    
    // tag::defining-sources-jar-task[]
    java {
        withJavadocJar()
        withSourcesJar()
    }
    // end::defining-sources-jar-task[]
    
    // tag::pom-customization[]
    // tag::versions-resolved[]
    publishing {
        publications {
            create<MavenPublication>("mavenJava") {
    // end::versions-resolved[]
    // end::pom-customization[]
                artifactId = "my-library"
                from(components["java"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/SamplesIvyPublishIntegrationTest.groovy

            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("ivy-publish/conditional-publishing/groovy")
        def conditionalPublishing() {
            given:
            sample sampleProject
    
            and:
            def artifactId = "maven-conditional-publishing"
            def version = "1.0"
            def externalRepo = ivy(sampleProject.dir.file("build/repos/external"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/signing/maven-publish/groovy/build.gradle

    version = '1.0'
    
    // tag::defining-sources-jar-task[]
    java {
        withJavadocJar()
        withSourcesJar()
    }
    // end::defining-sources-jar-task[]
    
    // tag::pom-customization[]
    // tag::versions-resolved[]
    publishing {
        publications {
            mavenJava(MavenPublication) {
    // end::versions-resolved[]
    // end::pom-customization[]
                artifactId = 'my-library'
                from components.java
    // tag::versions-resolved[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top