Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for withOptions (0.24 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                task emptyOptions()
                task task
                task withOptions(dependsOn: [nothing, withAction, emptyOptions, task])
                task withOptionsAndAction(dependsOn: withOptions) { doLast {} }
            """
    
            expect:
            succeeds ":emptyOptions", ":nothing", ":task", ":withAction", ":withOptions", ":withOptionsAndAction"
        }
    
        def "can define tasks using task keyword and GString"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

            scriptHandler: ScriptHandler,
            targetScope: ClassLoaderScope,
            baseScope: ClassLoaderScope,
            topLevelScript: Boolean,
            options: EvalOptions
        ) {
            withOptions(options) {
                interpreter.eval(
                    target,
                    scriptSource,
                    scriptSourceHasher.hash(scriptSource),
                    scriptHandler,
                    targetScope,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pkg/log/config.go

    	_ = zap.RedirectStdLog(defaultZapLogger)
    
    	// capture gRPC logging
    	if options.logGRPC {
    		grpclog.SetLoggerV2(zapgrpc.NewLogger(zap.New(grpcLogger, opts...).WithOptions(zap.AddCallerSkip(3))))
    	}
    
    	// capture klog (Kubernetes logging) through our logging
    	configureKlog.Do(func() {
    		klog.SetLogger(NewLogrAdapter(KlogScope))
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top