Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 183 for attributes (0.05 seconds)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

            /**
             * Sets the attributes of the XML node.
             * <p>
             * The provided map will be copied to ensure immutability.
             *
             * @param attributes the map of attribute names to values
             * @return this builder instance
             */
            public Builder attributes(Map<String, String> attributes) {
                this.attributes = attributes;
                return this;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                attributes.put("sectanchors", true);
                attributes.put("sectlinks", true);
                attributes.put("linkattrs", true);
                attributes.put("reproducible", "");
                attributes.put("docinfo", "");
                attributes.put("lang", "en-US");
                attributes.put("encoding", "utf-8");
                attributes.put("idprefix", "");
                attributes.put("website", "https://gradle.org");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayAttributes.kt

    import org.gradle.api.artifacts.Configuration
    import org.gradle.api.attributes.Attribute
    import org.gradle.api.attributes.AttributeCompatibilityRule
    import org.gradle.api.attributes.CompatibilityCheckDetails
    import org.gradle.api.provider.Provider
    
    enum class NullawayState {
        ENABLED, DISABLED
    }
    
    object NullawayAttributes {
        val nullawayAttribute = Attribute.of("org.gradle.gradlebuild.nullaway", NullawayState::class.java)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/body-fields.md

    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes { #declare-model-attributes }
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` works the same way as `Query`, `Path` and `Body`, it has all the same parameters, etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

        }
    
        @Override
        public int getPosition() {
            return position;
        }
    
        @Override
        public boolean setPosition(int position) {
            this.position = position;
            attribute = (position > 0 && position <= attributes.size()) ? attributes.get(position - 1) : null;
            return attribute != null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

             * it just no-op in most cases.
             */
            registerTransform(Minify::class) {
                from.attribute(minified, false).attribute(artifactType, "jar")
                to.attribute(minified, true).attribute(artifactType, "jar")
                parameters {
                    keepClassesByCoordinates = keepPatterns
                }
            }
        }
        afterEvaluate {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

            archiveVersion = gradleModule.identity.version.map { it.baseVersion.version }
            manifest.attributes(
                mapOf(
                    Attributes.Name.IMPLEMENTATION_TITLE.toString() to "Gradle",
                    Attributes.Name.IMPLEMENTATION_VERSION.toString() to gradleModule.identity.version.map { it.baseVersion.version }
                )
            )
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 18:26:52 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            given:
            sampleDoc << """
    === Invalid Javadoc Links
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 21 16:24:54 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            attributes.attribute(Usage.USAGE_ATTRIBUTE as Attribute<Usage>, RUNTIME_ATTRIBUTE)
            attributes.attribute(Category.CATEGORY_ATTRIBUTE as Attribute<Category>, DOCUMENTATION_ATTRIBUTE)
            attributes.attribute(DocsType.DOCS_TYPE_ATTRIBUTE as Attribute<DocsType>, SOURCES_ATTRIBUTE)
            extendsFrom(currentClasspath)
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    private
    fun Project.resolver(name: String, libraryElements: String, extends: Configuration? = null) = configurations.create(name) {
        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(libraryElements))
        }
        isCanBeResolved = true
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 16:39:23 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top