Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ignoreProperty (0.2 sec)

  1. platforms/documentation/docs/src/snippets/tasks/inputNormalizationPropertiesFiles/groovy/build.gradle

    normalization {
        runtimeClasspath {
            properties('**/build-info.properties') {
                ignoreProperty 'timestamp'
            }
        }
    }
    // end::ignore-property-selected[]
    
    // tag::ignore-property-all[]
    normalization {
        runtimeClasspath {
            properties {
                ignoreProperty 'timestamp'
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 420 bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

            'ignore manifest attribute' | "metaInf { ignoreAttribute '${IMPLEMENTATION_VERSION}' }" | Api.ANNOTATION
            'ignore property'           | "properties { ignoreProperty 'timestamp' }"               | Api.RUNTIME
            'ignore property'           | "properties { ignoreProperty 'timestamp' }"               | Api.ANNOTATION
        }
    
        def "can ignore properties on runtime classpath in #tree (using runtime API: #api)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tasks/inputNormalizationPropertiesFiles/kotlin/build.gradle.kts

    normalization {
        runtimeClasspath {
            properties("**/build-info.properties") {
                ignoreProperty("timestamp")
            }
        }
    }
    // end::ignore-property-selected[]
    
    // tag::ignore-property-all[]
    normalization {
        runtimeClasspath {
            properties {
                ignoreProperty("timestamp")
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 417 bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/normalization/internal/DefaultRuntimeClasspathNormalizationTest.groovy

            given:
            def originalNormalization = new DefaultRuntimeClasspathNormalization()
            originalNormalization.properties {
                it.ignoreProperty("ignored.in.all")
            }
            originalNormalization.properties("some.properties") {
                it.ignoreProperty("ignored.in.some")
            }
    
            when:
            def restoredNormalization = new DefaultRuntimeClasspathNormalization()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 22 13:17:59 UTC 2021
    - 7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/normalization/internal/DefaultRuntimeClasspathNormalization.java

                manifestAttributeResourceFilter.ignore(name.toLowerCase(Locale.ROOT));
            }
    
            @Override
            public void ignoreProperty(String name) {
                propertyFileFilters.configure("META-INF/**/*.properties", propertiesFileNormalization -> propertiesFileNormalization.ignoreProperty(name));
            }
        }
    
        @Override
        public CachedState computeCachedState() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 01 07:34:45 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/tasks/inputNormalizationMetaInf/kotlin/build.gradle.kts

            }
        }
    }
    // end::ignore-metainf-attribute[]
    
    // tag::ignore-metainf-properties[]
    normalization {
        runtimeClasspath {
            metaInf {
                ignoreProperty("app.version")
            }
        }
    }
    // end::ignore-metainf-properties[]
    
    // tag::ignore-metainf-manifest[]
    normalization {
        runtimeClasspath {
            metaInf {
                ignoreManifest()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 763 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tasks/inputNormalizationMetaInf/groovy/build.gradle

            }
        }
    }
    // end::ignore-metainf-attribute[]
    
    // tag::ignore-metainf-properties[]
    normalization {
        runtimeClasspath {
            metaInf {
                ignoreProperty("app.version")
            }
        }
    }
    // end::ignore-metainf-properties[]
    
    // tag::ignore-metainf-manifest[]
    normalization {
        runtimeClasspath {
            metaInf {
                ignoreManifest()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 768 bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/normalization/PropertiesFileNormalization.java

         * This method can be called multiple times to declare additional properties to be ignored.
         * @param propertyName - the name of the property to ignore
         */
        void ignoreProperty(String propertyName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 19 12:43:32 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/normalization/MetaInfNormalization.java

        /**
         * Ignore keys in properties files stored in {@code META-INF} within archives matching {@code name}. {@code name} is matched case-sensitively with the property key.
         *
         * @since 6.6
         */
        void ignoreProperty(String name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 15 18:10:29 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

        def "fails when ignored property has other annotations"() {
            expect:
            assertProperties TypeWithIgnoredPropertyWithOtherAnnotations, [
                ignoredProperty: [(TYPE): Ignored]
            ], [
                strict(ignoredAnnotatedPropertyMessage { property('ignoredProperty').ignoring('Ignored').alsoAnnotatedWith('Color').includeLink() })
            ]
        }
    
        @SuppressWarnings("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top