Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for withBuildIdentifier (0.3 sec)

  1. platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/build.gradle.kts

    version = "1.0"
    
    // tag::enable-build-id[]
    publishing {
        publications {
            create<MavenPublication>("myLibrary") {
                from(components["java"])
    // end::configure-publishing[]
                withBuildIdentifier()
    // tag::configure-publishing[]
            }
        }
    // end::enable-build-id[]
    
        repositories {
            maven {
                name = "myRepo"
                url = uri(layout.buildDirectory.dir("repo"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublication.java

        }
    
        @Override
        public void withoutBuildIdentifier() {
            withBuildIdentifier = false;
        }
    
        @Override
        public void withBuildIdentifier() {
            withBuildIdentifier = true;
        }
    
        @Override
        public boolean isPublishBuildId() {
            return withBuildIdentifier;
        }
    
        @Override
        public DisplayName getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  3. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublication.java

        }
    
        @Override
        public void withoutBuildIdentifier() {
            withBuildIdentifier = false;
        }
    
        @Override
        public void withBuildIdentifier() {
            withBuildIdentifier = true;
        }
    
        @Override
        public boolean isPublishBuildId() {
            return withBuildIdentifier;
        }
    
        @Override
        public DisplayName getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/build.gradle

    version = '1.0'
    
    // tag::enable-build-id[]
    publishing {
        publications {
            myLibrary(MavenPublication) {
                from components.java
    // end::configure-publishing[]
                withBuildIdentifier()
    // tag::configure-publishing[]
            }
        }
    // end::enable-build-id[]
    
        repositories {
            maven {
                name = 'myRepo'
                url = layout.buildDirectory.dir("repo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/software/publish/src/main/java/org/gradle/api/publish/Publication.java

        /**
         * Enables publication of a unique build identifier in Gradle Module Metadata.
         * <p>
         * The build identifier is not published by default.
         *
         * @since 6.6
         */
        void withBuildIdentifier();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/software/publish/src/test/groovy/org/gradle/api/publish/internal/DefaultPublicationContainerTest.groovy

                this.name = name
            }
    
            @Override
            void withoutBuildIdentifier() {
                // No-op
            }
    
            @Override
            void withBuildIdentifier() {
                // No-op
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy

                        ivy { url "${ivyRepo.uri}" }
                    }
                    publications {
                        ivy(IvyPublication) {
                            from comp
                            withBuildIdentifier()
                        }
                    }
                }
            """
    
            when:
            succeeds 'publish'
    
            then:
            def module = ivyRepo.module('group', 'root', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 30.4K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

                        maven { url "${mavenRepo.uri}" }
                    }
                    publications {
                        maven(MavenPublication) {
                            from comp
                            withBuildIdentifier()
                        }
                    }
                }
            """
    
            when:
            succeeds 'publish'
    
            then:
            def module = mavenRepo.module('group', 'root', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
Back to top