Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 739 for scriptDsl (0.88 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/WindowsSwiftLibraryInitIntegrationTest.groovy

            and:
            dslFixtureFor(scriptDsl).getBuildFile().text.contains("Swift tool chain does not support Windows. The following targets macOS and Linux:")
            dslFixtureFor(scriptDsl).getBuildFile().text.contains("targetMachines.add(machines.macOS.x86_64")
            dslFixtureFor(scriptDsl).getBuildFile().text.contains("targetMachines.add(machines.linux.x86_64")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/testFixtures/groovy/org/gradle/buildinit/plugins/fixtures/ScriptDslFixture.groovy

        }
    
        static ScriptDslFixture of(BuildInitDsl scriptDsl, TestFile rootDir, String subprojectName) {
            new ScriptDslFixture(scriptDsl, rootDir, subprojectName)
        }
    
        final BuildInitDsl scriptDsl
        final TestFile rootDir
        final String subprojectName
    
        ScriptDslFixture(BuildInitDsl scriptDsl, TestFile rootDir, String subprojectName) {
            this.scriptDsl = scriptDsl
            this.rootDir = rootDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 00:45:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

        }
    
        def "creates a simple project with #scriptDsl build scripts when no pom file present and no type specified"() {
            given:
            useTestDirectoryThatIsNotEmbeddedInAnotherBuild()
            def dslFixture = ScriptDslFixture.of(scriptDsl, targetDir, null)
    
            when:
            runInitWith scriptDsl
    
            then:
            commonFilesGenerated(scriptDsl, dslFixture)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/go/internal/vcweb/vcweb.go

    	prefix := path.Join("/", filepath.ToSlash(relDir))
    
    	r.mu.RLock()
    	defer r.mu.RUnlock()
    	for {
    		// For efficiency, we cache the script's output (in the work directory)
    		// across invocations. However, to allow for rapid iteration, we hash the
    		// script's contents and regenerate its output if the contents change.
    		//
    		// That way, one can use 'go run main.go' in this directory to stand up a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/README

    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
    - 12.5K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

            String scriptName = "script-missing.gradle"
            String scriptUrl = "${server.uri}/${scriptName}"
            def scriptFile = file("script.gradle") << """
                println 'loaded remote script'
            """
    
            buildFile << """
                apply from: '${scriptUrl}'
            """
    
            when:
            server.expectGetMissing("/" + scriptName)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. 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)
Back to top