- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 739 for scriptDsl (0.29 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt
/** * Resolves a file path to a URI, relative to this script's target base directory. * * Evaluates the provided path object as described for [file], * with the exception that any URI scheme is supported, not just `file:` URIs. */ fun uri(path: Any): URI /** * Resolves a file path relative to this script's target base directory. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 12.3K bytes - Viewed (0) -
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) -
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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt
*/ @Suppress("unused") val resources: ResourceHandler by unsafeLazy { fileOperations.resources } /** * Returns the relative path from this script's target base directory to the given path. * * The given path object is (logically) resolved as described for [KotlinInitScript.file], * from which a relative path is calculated. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 15.3K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_build_scripts.adoc
==== include::sample[dir="snippets/tutorial/groovy/groovy",files="build.gradle[tags=closureDelegates]"] ==== [[script-default-imports]] == Default imports To make build scripts more concise, Gradle automatically adds a set of import statements to scripts. As a result, instead of writing `throw new org.gradle.api.tasks.StopExecutionException()`, you can write `throw new StopExecutionException()` instead.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:22:43 UTC 2024 - 17.8K bytes - Viewed (0) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy
when: run 'help' then: def scripts = scriptDetails() scripts.size() == 3 hasScript("settings", scripts) hasScript(":core", scripts) hasScript(":module1", scripts) eachScriptIsUnique(scripts) getCompileBuildFileOperationsCount() == 4 // classpath + body for settings and for the 2 identical scripts }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 24.2K bytes - Viewed (0) -
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) -
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)