Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for Corefile (0.13 sec)

  1. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/kotlin/buildSrc/src/main/java/Download.java

        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 802 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/kotlin/buildSrc/src/main/java/Download.java

            @Override
            public void execute() {
                // Use the server to download a file
                WebServer server = getParameters().getServer().get();
                URI uri = server.getUri().resolve("somefile.zip");
                System.out.println(String.format("Downloading %s", uri));
            }
        }
    
        @Inject
        abstract public WorkerExecutor getWorkerExecutor();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/plugins/buildService/groovy/buildSrc/src/main/java/Download.java

        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 776 bytes
    - Viewed (0)
  4. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/SimpleTemplateOperationSpec.groovy

    class SimpleTemplateOperationSpec extends Specification {
        @TempDir
        File temporaryFolder
    
        def "Template URL must not be null"() {
            when:
            new SimpleTemplateOperation(null, new File("someFile"), [:])
            then:
            def e = thrown(BuildInitException)
            e.message == "Template URL must not be null"
        }
    
        def "Target File must not be null"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/workcmd/init.go

    	}
    
    	if _, err := fsys.Stat(gowork); err == nil {
    		base.Fatalf("go: %s already exists", gowork)
    	}
    
    	goV := gover.Local() // Use current Go version by default
    	wf := new(modfile.WorkFile)
    	wf.Syntax = new(modfile.FileSyntax)
    	wf.AddGoStmt(goV)
    	workUse(ctx, gowork, wf, args)
    	modload.WriteWorkFile(gowork, wf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/groovy/buildSrc/src/main/java/Download.java

            @Override
            public void execute() {
                // Use the server to download a file
                WebServer server = getParameters().getServer().get();
                URI uri = server.getUri().resolve("somefile.zip");
                System.out.println(String.format("Downloading %s", uri));
            }
        }
    
        @Inject
        abstract public WorkerExecutor getWorkerExecutor();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/SourcePathProvider.kt

            // If the script file is known, determine its type
            val scriptType = scriptFile?.let {
                KotlinScriptTypeMatch.forFile(it)?.scriptType
            }
    
            // We also add the "buildSrc" sources onto the source path.
            val projectBuildSrcRoots = when (scriptType) {
                KotlinScriptType.INIT, KotlinScriptType.SETTINGS -> emptyList()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 12:20:51 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

    }
    
    apply plugin: SomePlugin
    """
        }
    
        protected void prepareMethodUseTest(GradleVersion targetVersion) {
            file("someFile").touch()
            file("anotherFile").touch()
            file("yetAnotherFile").touch()
            file("someDir").createDir()
    
            def apiDepConf = "implementation"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileTreeElementTest.groovy

        }
    
        def defaultPermissionValuesAreUsed() {
            given:
            def dir = new TestFileTreeElement(temporaryFolder.getTestDirectory(), chmod)
            def file = new TestFileTreeElement(temporaryFolder.file("someFile"), chmod)
    
            expect:
            dir.getPermissions().toUnixNumeric() == FileSystem.DEFAULT_DIR_MODE
            file.getPermissions().toUnixNumeric() == FileSystem.DEFAULT_FILE_MODE
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/workcmd/use.go

    	wf, err := modload.ReadWorkFile(gowork)
    	if err != nil {
    		base.Fatal(err)
    	}
    	workUse(ctx, gowork, wf, args)
    	modload.WriteWorkFile(gowork, wf)
    }
    
    func workUse(ctx context.Context, gowork string, wf *modfile.WorkFile, args []string) {
    	workDir := filepath.Dir(gowork) // absolute, since gowork itself is absolute
    
    	haveDirs := make(map[string][]string) // absolute → original(s)
    	for _, use := range wf.Use {
    		var abs string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top