Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for sourceFile (0.22 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            def app = new CppApp()
    
            given:
            app.sources.writeToSourceDir(file("srcs"))
            app.headers.writeToSourceDir(file("include"))
            file("src/main/headers/${app.greeter.header.sourceFile.name}") << 'broken!'
            file("src/main/cpp/broken.cpp") << "ignore me!"
    
            and:
            buildFile << """
                apply plugin: 'cpp-application'
                application {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy

            def sourcefile1 = new File('file1')
            def sourcefile2 = new File('file2')
            def sourcefile3 = new File('file3')
            def resourcefile1 = new File('file4')
            def resourcefile2 = new File('file5')
            def resourcefile3 = new File('file6')
            def sourceSet = sourceSet(sourcefile1, sourcefile2, sourcefile3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

            then:
            javaProject.assertBuildTasksSkipped(result)
        }
    
        def "tasks have common output directories"() {
            def sourceFile1 = file('source1/source1.txt')
            sourceFile1 << 'a'
            def sourceFile2 = file('source2/source2.txt')
            sourceFile2 << 'b'
            def targetFile1 = file('target/source1.txt')
            def targetFile2 = file('target/source2.txt')
            def taskPath = ':copyAll'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

    performanceTest.registerTestProject("withVerboseTestNG", JvmProjectGeneratorTask) {
        projects = 1
        sourceFiles = 10
        subProjectTemplates << 'with-verbose-testng'
        daemonMemory = '256m'
    }
    performanceTest.registerTestProject("withVerboseJUnit", JvmProjectGeneratorTask) {
        projects = 1
        sourceFiles = 10
        subProjectTemplates << 'with-verbose-junit'
        daemonMemory = '256m'
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

            given:
            def app = new MixedLanguageHelloWorldApp(AbstractInstalledToolChainIntegrationSpec.toolChain)
            def asmSources = app.sourceFiles.findAll({it.path == 'asm'})
            def mainSources = app.headerFiles + app.sourceFiles.findAll({it.path != 'asm'})
            mainSources.removeAll {it.path == 'asm'}
            mainSources*.writeToDir(file("src/main"))
            asmSources*.writeToDir(file("src/input"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy

                    private final ConfigurableFileCollection sourceFiles = getProject().files();
    
                    @InputFiles
                    public ConfigurableFileCollection getSourceFiles() {
                        System.out.println("get files from field");
                        return sourceFiles;
                    }
    
                    public void setSourceFiles(Object files) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/AbstractNativeCompileTask.java

            return source;
        }
    
        /**
         * Adds a set of source files to be compiled. The provided sourceFiles object is evaluated as per {@link org.gradle.api.Project#files(Object...)}.
         */
        public void source(Object sourceFiles) {
            source.from(sourceFiles);
        }
    
        /**
         * Macros that should be defined for the compiler.
         */
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy

            then:
            executedAndNotSkipped getProjectTasks("app")
    
            and:
            final projectFile = projectFile("app.vcxproj")
            assert projectFile.sourceFiles == ['build.gradle'] + app.sourceFiles.collect({"src/main/cpp/${it.name}"}).sort()
            assert projectFile.headerFiles == app.headerFiles.collect({"src/main/cpp/${it.name}"}).sort()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy

                "class D { static final int CONSTANT = C.CONSTANT; }",
                "class E { }",
            ]
            List<File> sourceFiles = toSourceFiles(classes) + getConstants("int", "1")
    
            when:
            compiler.compile(sourceFiles)
    
            then:
            accessibleDependentToConstants["A"] == ["Constant1"] as Set
            accessibleDependentToConstants["B"] == ["A"] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

              }
    
              val bufferPos = upstreamPos - buffer.size
    
              // Bytes of the read precede the buffer. Read from the file.
              if (sourcePos < bufferPos) {
                return@synchronized SOURCE_FILE
              }
    
              // The buffer has the data we need. Read from there and return immediately.
              val bytesToRead = minOf(byteCount, upstreamPos - sourcePos)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top