Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 474 for publishing (0.37 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/kotlin/producer/build.gradle.kts

    plugins {
        `java-library`
        `maven-publish`
        `instrumented-jars`
    }
    
    publishing {
        repositories {
            maven {
                setUrl("${buildDir}/repo")
            }
        }
        publications {
            create<MavenPublication>("myPublication") {
                from(components["myAdhocComponent"])
            }
        }
    }
    
    if (project.hasProperty("disableGradleMetadata")) {
        // tag::disable_gradle_metadata_publication[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 852 bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationPublishingIntegrationTest.groovy

                apply plugin: 'maven-publish'
    
                group = 'some.group'
                version = '1.2'
                application {
                    baseName = 'test'
                }
                publishing {
                    repositories { maven { url '$mavenRepo.uri' } }
                }
            """
            app.writeToProject(testDirectory)
    
            when:
            run('publish')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemSupport.java

        /**
         * The Java API of a library, packaged as a JAR only. Must not include classes directories.
         *
         * Available for compatibility with previously published modules.  Should <strong>NOT</strong> be used for new publishing.
         * No plans for permanent removal.
         */
        @Deprecated
        public static final String DEPRECATED_JAVA_API_JARS = "java-api-jars";
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:13:00 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/groovy/producer/build.gradle

    plugins {
        id 'java-library'
        id 'maven-publish'
    }
    
    apply plugin: com.acme.InstrumentedJarsPlugin
    
    publishing {
        repositories {
            maven {
                url "${buildDir}/repo"
            }
        }
        publications {
            myPublication(MavenPublication) {
                from components.myAdhocComponent
            }
        }
    }
    
    if (project.hasProperty("disableGradleMetadata")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 859 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ivy-publish/customize-identity/groovy/build.gradle

    plugins {
        id 'java'
        id 'ivy-publish'
    }
    
    // tag::customize-identity[]
    publishing {
    // end::customize-identity[]
        repositories {
            ivy {
                url layout.buildDirectory.dir('repo')
            }
        }
    // tag::customize-identity[]
        publications {
            ivy(IvyPublication) {
                organisation = 'org.gradle.sample'
                module = 'project1-sample'
                revision = '1.1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 660 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/credentials-handling/publishing-credentials/README.adoc

    This sample shows how credentials can be used when publishing artifacts to a Maven repository using link:{userManualPath}/build_environment.html#sec:project_properties[project properties].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/ivy-publish/customize-identity/kotlin/build.gradle.kts

    plugins {
        java
        `ivy-publish`
    }
    
    // tag::customize-identity[]
    publishing {
        // end::customize-identity[]
        repositories {
            ivy {
                url = uri(layout.buildDirectory.dir("repo"))
            }
        }
    // tag::customize-identity[]
        publications {
            create<IvyPublication>("ivy") {
                organisation = "org.gradle.sample"
                module = "project1-sample"
                revision = "1.1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 678 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/credentials-handling/publishing-credentials/groovy/build.gradle

        id 'maven-repository-stub'
    }
    
    version = '1.0.2'
    group = 'com.example'
    
    // tag::publication[]
    publishing {
        publications {
            library(MavenPublication) {
                from components.java
            }
        }
    // tag::repositories[]
        repositories {
            maven {
                name = 'mySecureRepository'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 648 bytes
    - Viewed (0)
  9. build-logic/uber-plugins/build.gradle.kts

        implementation(project(":cleanup"))
        implementation(project(":dependency-modules"))
        implementation(project(":jvm"))
        implementation(project(":profiling"))
        implementation(project(":publishing"))
    
        implementation("org.gradle.kotlin:gradle-kotlin-dsl-conventions")
        implementation(kotlin("gradle-plugin"))
        implementation("com.autonomousapps:dependency-analysis-gradle-plugin")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 17:16:23 UTC 2023
    - 695 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-outgoingCapabilities/kotlin/build.gradle.kts

        }
        runtimeElements {
            outgoing {
                capability("com.acme:my-library:1.0")
                capability("com.other:module:1.1")
            }
        }
    }
    // end::declare-outgoing-capabilities[]
    
    publishing {
        repositories {
            maven {
                setUrl("${buildDir}/repo")
            }
        }
        // tag::ignore-pom-warnings[]
        publications {
            register<MavenPublication>("maven") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 846 bytes
    - Viewed (0)
Back to top