Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for sensible (0.18 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            when:
            run(":printTestSoftwareTypeExtensionConfiguration")
    
            then:
            assertThatDeclaredValuesAreSetProperly()
        }
    
        def 'sensible error when model types do not match in software type declaration'() {
            given:
            withSoftwareTypePluginWithMismatchedModelTypes().prepareToExecute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/crypto/rsa/pss.go

    // SignPSS calculates the signature of digest using PSS.
    //
    // digest must be the result of hashing the input message using the given hash
    // function. The opts argument may be nil, in which case sensible defaults are
    // used. If opts.Hash is set, it overrides hash.
    //
    // The signature is randomized depending on the message, key, and salt size,
    // using bytes from rand. Most applications should use [crypto/rand.Reader] as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskIntegrationTest.groovy

            when:
            run "projects"
            then:
            outputDoesNotContain("Included builds")
        }
    
        def "rendering long project descriptions is sensible"() {
            settingsFile << "rootProject.name = 'my-root-project'"
            buildFile << """
                description = '''
    this is a long description
    
    this shouldn't be visible
                '''
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            "everything has convention and is set"             | setAll("convention", "convention") | setAll("test", "baz") | """id = test\nbar = baz"""
        }
    
        def "sensible error when conventions are set more than once (#testCase)"() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

         *
         * Note that "default value" is not related to the convention value, though they are easy to confuse.
         * A default value is a fallback value that is sensible to the caller, in the absence of the explicit value.
         * The default value is not related in any way to the convention value.
         *
         * @param value the current explicit value
         * @param defaultValue the default value
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    All Gradle core plugins follow the software engineering paradigm link:https://en.wikipedia.org/wiki/Convention_over_configuration[convention over configuration].
    The plugin logic provides users with sensible defaults and standards, the conventions, in a certain context.
    Let’s take the <<java_plugin.adoc#java_plugin,Java plugin>> as an example.
    
    * It defines the directory `src/main/java` as the default source directory for compilation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/net/http/cookiejar/jar.go

    	if domain == "" {
    		// No domain attribute in the SetCookie header indicates a
    		// host cookie.
    		return host, true, nil
    	}
    
    	if isIP(host) {
    		// RFC 6265 is not super clear here, a sensible interpretation
    		// is that cookies with an IP address in the domain-attribute
    		// are allowed.
    
    		// RFC 6265 section 5.2.3 mandates to strip an optional leading
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc

    [[sec:plugin_conventions]]
    == Adding default configuration with conventions
    
    Plugins should provide sensible defaults and standards in a specific context, reducing the number of decisions users need to make.
    Using the `project` object, you can define default values.
    These are known as *conventions*.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 29 02:31:44 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/shell.go

    	}
    	if a.sh == nil {
    		a.sh = b.backgroundSh.WithAction(a)
    	}
    	return a.sh
    }
    
    // BackgroundShell returns a Builder-wide Shell that's not bound to any Action.
    // Try not to use this unless there's really no sensible Action available.
    func (b *Builder) BackgroundShell() *Shell {
    	return b.backgroundSh
    }
    
    // moveOrCopyFile is like 'mv src dst' or 'cp src dst'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc

    So Gradle picks the first match in this order: Microsoft JDK 17.0.1.
    
    [[sec:plugins_toolchains]]
    == Toolchains for plugin authors
    
    When creating a plugin or a task that uses toolchains, it is essential to provide sensible defaults and allow users to override them.
    
    For JVM projects, it is usually safe to assume that the `java` plugin has been applied to the project.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:37:54 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top