Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 474 for publishing (0.15 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/publishing_gradle_plugins.adoc

    // limitations under the License.
    
    [[publishing_portal]]
    = Publishing Plugins to the Gradle Plugin Portal
    :portal: Gradle Plugin Portal
    :plugin: Greeting Plugin
    :publishplugin: Plugin Publishing Plugin
    :plugin-reference-documentation: https://plugins.gradle.org/docs/publish-plugin[reference documentation of the {publishplugin}]
    
    Publishing a plugin is the primary way to make it available for others to use.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 18:40:53 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignmentWithPlatform/kotlin/platform/build.gradle.kts

    plugins {
        `java-platform`
    // end::platform[]
        id("myproject.publishing-conventions")
    // tag::platform[]
    }
    
    dependencies {
        // The platform declares constraints on all components that
        // require alignment
        constraints {
            api(project(":core"))
            api(project(":lib"))
            api(project(":utils"))
        }
    }
    // end::platform[]
    
    publishing {
        publications {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 524 bytes
    - Viewed (0)
  3. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/MavenPublication.java

     *
     * You directly add a named Maven publication the project's {@code publishing.publications} container by providing {@link MavenPublication} as the type.
     * <pre>
     * publishing {
     *   publications {
     *     myPublicationName(MavenPublication) {
     *       // Configure the publication here
     *     }
     *   }
     * }
     * </pre>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignmentWithPlatform/groovy/platform/build.gradle

    plugins {
        id 'java-platform'
    // end::platform[]
        id 'myproject.publishing-conventions'
    // tag::platform[]
    }
    
    dependencies {
        // The platform declares constraints on all components that
        // require alignment
        constraints {
            api(project(":core"))
            api(project(":lib"))
            api(project(":utils"))
        }
    }
    // end::platform[]
    
    publishing {
        publications {
            maven(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 500 bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginLegacyPluginPublishingIntegrationTest.groovy

            publishToMaven()
            buildFile << """
                afterEvaluate {
                    assert publishing.publications.size() == 4
                }
            """
    
            expect:
            succeeds 'help'
        }
        def publishToMaven() {
            buildFile << """
                apply plugin: 'maven-publish'
                publishing {
                    repositories {
                        maven {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/maven-publish/quickstart/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    group = 'org.gradle.sample'
    version = '1.0'
    
    // tag::publish-component[]
    publishing {
        publications {
            mavenJava(MavenPublication) {
                from components.java
            }
        }
    }
    // end::publish-component[]
    // tag::repositories[]
    publishing {
        repositories {
            maven {
                // change to point to your repo, e.g. http://my.org/repo
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 560 bytes
    - Viewed (0)
  7. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenScopesTestIntegTest.groovy

            given:
            buildFile << """
                components.java.addVariantsFromConfiguration(configurations.custom) {
                    mapToMavenScope('runtime')
                }
    
                publishing {
                    publications {
                        myPub(MavenPublication) {
                            from components.java
                        }
                    }
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/maven-publish/customize-identity/groovy/library/build.gradle

        id 'maven-publish'
    }
    
    repositories {
        mavenCentral()
    }
    
    publishing {
        repositories {
            maven {
                url = "${rootProject.buildDir}/repo" // change to point to your repo, e.g. http://my.org/repo
            }
        }
    }
    
    dependencies {
        api 'org.slf4j:slf4j-api:1.7.10'
    }
    
    // tag::customize-identity[]
    publishing {
        publications {
            maven(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 604 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/maven-publish/quickstart/kotlin/build.gradle.kts

    }
    // end::use-plugin[]
    
    group = "org.gradle.sample"
    version = "1.0"
    
    // tag::publish-component[]
    publishing {
        publications {
            create<MavenPublication>("mavenJava") {
                from(components["java"])
            }
        }
    }
    // end::publish-component[]
    // tag::repositories[]
    publishing {
        repositories {
            maven {
                // change to point to your repo, e.g. http://my.org/repo
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 602 bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishLoggingIntegTest.groovy

            buildFile << """
                apply plugin: 'maven-publish'
                apply plugin: 'java'
    
                group = 'group'
                version = '1.0'
    
                publishing {
                    repositories {
                        maven { url "${mavenRepo.uri}" }
                    }
                    publications {
                        maven(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top