Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 204 for Implicits (0.33 sec)

  1. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

    [[groovy:project_object]]
    == The `Project` object
    
    As Groovy is an object-oriented language based on Java, its properties and methods apply to objects. In some cases, the object is implicit — particularly at the top level of a build script, i.e. not nested inside a `{}` block.
    
    Consider this fragment of build script, which contains an unqualified property and block:
    
    [source,groovy]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       */
      open fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
      }
    
      /**
       * Invoked just prior to sending request headers.
       *
       * The connection is implicit, and will generally relate to the last [connectionAcquired] event.
       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response to the
       * [Call.request] is a redirect to a different address.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/MissingTaskDependencyDetector.java

            validationContext.visitPropertyProblem(problem ->
                problem.id(TextUtil.screamingSnakeToKebabCase(IMPLICIT_DEPENDENCY), "Property has implicit dependency", GradleCoreProblemGroup.validation().property()) // TODO (donat) missing test coverage
                    .contextualLabel("Gradle detected a problem with the following location: '" + consumerProducerPath + "'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt

                fun test() {
    
                    // Implicit SAM conversion in regular source
                    println(createK(String::class) { it.toUpperCase() })
                    println(create("FOO") { it.toLowerCase() })
    
                    // Implicit SAM with receiver conversion in regular source
                    applyActionTo("BAR") {
                        println(toLowerCase())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcIncludedBuildIntegrationTest.groovy

            """
    
            when:
            run()
    
            then:
            result.assertTaskExecuted(":included:jar")
            result.assertTaskExecuted(":buildSrc:jar")
        }
    
        // buildSrc acts like an implicit pluginManagement { } included build
        def "library contributed by buildSrc is not visible to the root build"() {
            writeLibraryTo(file("buildSrc"))
    
            file("build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 13 02:04:28 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  6. src/go/types/typestring.go

    				w.string("interface{comparable}")
    				break
    			}
    		}
    		if t.implicit {
    			if len(t.methods) == 0 && len(t.embeddeds) == 1 {
    				w.typ(t.embeddeds[0])
    				break
    			}
    			// Something's wrong with the implicit interface.
    			// Print it as such and continue.
    			w.string("/* implicit */ ")
    		}
    		w.string("interface{")
    		first := true
    		if w.ctxt != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/VariantMetadataRules.java

            }
    
            DefaultMutableCapabilitiesMetadata mutableCapabilities;
            if (capabilities.asSet().isEmpty()) {
                // we must add the implicit capability here because it is assumed that if there's a rule
                // "addCapability" would effectively _add_ a capability, so the implicit one must not be forgotten
                mutableCapabilities = new DefaultMutableCapabilitiesMetadata(ImmutableCapabilities.of(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutorTest.groovy

            1 * store.put({ it == keyHash }, { it.timestamp == timeProvider.currentTime })
            0 * _
            result.length == 6
        }
    
        void "can expire entries based on implicit inputs"() {
            withServiceInjectedRule()
            def id = new Id('Alicia')
    
            def implicitInput = Mock(ImplicitInputRecord)
            def service = Mock(SomeService)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesRulesIntegrationTest.groovy

       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib-nodep:3.2.5($variant)]""")
        }
    
        def "implicit capability conflict is detected if implicit capability is discovered late"() {
            given:
            repository {
                'cglib:cglib:3.2.5'()
                'cglib:cglib-nodep:3.2.5'()
                'org:lib:1.0' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/NoDaemonGradleExecuter.java

            if (getDistribution().isSupportsSpacesInGradleAndJavaOpts()) {
                // Mix the implicit launcher JVM args in with the requested JVM args
                super.transformInvocation(invocation);
            } else {
                // Need to move those implicit JVM args that contain a space to the Gradle command-line (if possible)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:38:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top