Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 467 for scriptDsl (0.15 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.start-scripts.gradle.kts

    configurations {
        create("gradleScriptsElements") {
            isVisible = false
            isCanBeResolved = false
            isCanBeConsumed = true
            attributes.attribute(Usage.USAGE_ATTRIBUTE, objects.named("start-scripts"))
            outgoing.artifact(startScripts)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/BuildScopeInMemoryCachingScriptClassCompiler.java

     * If the compiled script is not found in this cache, it will try to find it in the global cache,
     * which will use the delegate script class compiler in case of a miss. The lookup in this cache is
     * more efficient than looking in the global cache, as we do not check the script's hash code here,
     * assuming that it did not change during the build.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 16:35:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/init_scripts.adoc

    [[sec:basic_usage]]
    == Using an init script
    
    Initialization scripts, also called _init scripts_, are similar to other scripts in Gradle.
    Initialization scripts run before the build starts.
    
    They are useful for various purposes:
    
    * Setting up enterprise-wide configurations (e.g., custom plugin locations)
    * Configuring properties based on the environment (e.g., developer's machine vs. CI server)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/SettingsInternal.java

         *
         * Gradle runtime.
         */
        ClassLoaderScope getBaseClassLoaderScope();
    
        /**
         * The scope for this settings object.
         *
         * Gradle runtime + this object's script's additions.
         */
        ClassLoaderScope getClassLoaderScope();
    
        ServiceRegistry getServices();
    
        @Override
        BuildCacheConfigurationInternal getBuildCache();
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/go/scriptreadme_test.go

    create in the script's temporary file system before it starts executing.
    
    As an example, run_hello.txt says:
    
    	# hello world
    	go run hello.go
    	stderr 'hello world'
    	! stdout .
    
    	-- hello.go --
    	package main
    	func main() { println("hello world") }
    
    Each script runs in a fresh temporary work directory tree, available to scripts as $WORK.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/vcweb/script.go

    		})
    }
    
    func scriptHandle() script.Cmd {
    	return script.Command(
    		script.CmdUsage{
    			Summary: "set the HTTP handler that will serve the script's output",
    			Args:    "handler [dir]",
    			Detail: []string{
    				"The handler will be passed the script's current working directory and environment as arguments.",
    				"Valid handlers include 'dir' (for general http.Dir serving), 'bzr', 'fossil', 'git', and 'hg'",
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/script/state.go

    func (s *State) Getwd() string { return s.pwd }
    
    // Logf writes output to the script's log without updating its stdout or stderr
    // buffers. (The output log functions as a kind of meta-stderr.)
    func (s *State) Logf(format string, args ...any) {
    	fmt.Fprintf(&s.log, format, args...)
    }
    
    // flushLog writes the contents of the script's log to w and clears the log.
    func (s *State) flushLog(w io.Writer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r83/KotlinBuildScriptModelCrossVersionSpec.groovy

            loadValidatedToolingModel(KotlinDslScriptsModel)
        }
    
        def 'exceptions in different scripts are reported on the corresponding scripts'() {
    
            given:
            requireIsolatedUserHome()
    
            when:
            def spec = withMultipleSubprojects()
            spec.scripts["a"] << "throw RuntimeException(\"ex1\")"
            spec.scripts["b"] << "throw RuntimeException(\"ex2\")"
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 14:23:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. subprojects/core-api/src/test/groovy/org/gradle/initialization/DistributionInitScriptFinderTest.groovy

            def scripts = []
    
            when:
            finder.findScripts(scripts)
    
            then:
            scripts.empty
        }
    
        def "does nothing when init.d directory does not exist in distribution"() {
            def scripts = []
    
            when:
            finder.findScripts(scripts)
    
            then:
            scripts.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/kotlin/dsl/KotlinDslScriptsModel.java

    import java.util.Map;
    
    
    /**
     * Editor model for a set of Kotlin DSL scripts.
     * <p>
     * Can only be requested on the root project, the builder will throw otherwise.
     * <p>
     * Requires the <code>prepareKotlinBuildScriptModel</code> task to be executed before building the model.
     * See {@link KotlinDslModelsParameters#PREPARATION_TASK_NAME}
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 13:05:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top