Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for sourceFiles (0.34 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/EclipseDependenciesCreator.java

            @Override
            public void visitModuleDependency(ResolvedArtifactResult artifact, Set<ResolvedArtifactResult> sources, Set<ResolvedArtifactResult> javaDoc, boolean testDependency, boolean asJavaModule) {
                File sourceFile = sources.isEmpty() ? null : sources.iterator().next().getFile();
                File javaDocFile = javaDoc.isEmpty() ? null : javaDoc.iterator().next().getFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                println("init: ${'$'}{initscript.sourceFile}")
                """
            )
    
            val settings = withSettings(
                """
                println("settings: ${'$'}{buildscript.sourceFile}")
                """
            )
    
            val other = withFile(
                "other.gradle.kts",
                """
                println("other: ${'$'}{buildscript.sourceFile}")
                """
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/javadoc/Javadoc.java

        }
    
        private List<String> sourceNames() {
            List<String> sourceNames = new ArrayList<>();
            for (File sourceFile : getSource()) {
                sourceNames.add(sourceFile.getAbsolutePath());
            }
            return sourceNames;
        }
    
        private JavadocSpec createJavadocSpec(StandardJavadocDocletOptions options) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    func isPerfFile(path string) bool {
    	sourceFile, openErr := os.Open(path)
    	if openErr != nil {
    		return false
    	}
    	defer sourceFile.Close()
    
    	// If the file is the output of a perf record command, it should begin
    	// with the string PERFILE2.
    	perfHeader := []byte("PERFILE2")
    	actualHeader := make([]byte, len(perfHeader))
    	if _, readErr := sourceFile.Read(actualHeader); readErr != nil {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            lib.privateHeaders.writeToSourceDir(file("include"))
            lib.publicHeaders.writeToSourceDir(file("pub"))
            file("src/main/public/${lib.greeter.header.sourceFile.name}") << "ignore me!"
            file("src/main/headers/${lib.greeter.privateHeader.sourceFile.name}") << "ignore me!"
            file("src/main/cpp/broken.cpp") << "ignore me!"
    
            and:
            buildFile << """
                apply plugin: 'cpp-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java

        @Override
        public IncludeDirectives parseSource(File sourceFile) {
            try (Reader fileReader = new FileReader(sourceFile)) {
                return parseSource(fileReader);
            } catch (Exception e) {
                throw new GradleException(String.format("Could not extract includes from source file %s.", sourceFile), e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolverTest.groovy

            sourceDirectory.file('source.c')
        }
    
        def resolve(Include include) {
            def macros = new CollectingMacroLookup()
            macros.append(sourceFile, included)
            return new DefaultSourceIncludesResolver(includePaths, fileSystemAccess).resolveInclude(sourceFile, include, macros)
        }
    
        def "ignores system include file that does not exist"() {
            expect:
            def result = resolve(include('<test.h>'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

            buildFile << """
                apply plugin: 'swift-application'
             """
    
            succeeds("compileDebugSwift")
            def newFile = file("src/main/swift/NewFile.swift")
            newFile.text = app.sum.sourceFile.content
    
            expect:
            fails("compileDebugSwift")
            failure.assertHasErrorOutput("error: invalid redeclaration of 'sum(a:b:)'")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

                        @Override
                        public FileVisitResult visitFile(Path sourceFile, BasicFileAttributes attributes) throws IOException {
                            Path targetFile = targetDir.resolve(sourceDir.relativize(sourceFile));
                            Files.copy(sourceFile, targetFile, COPY_ATTRIBUTES, REPLACE_EXISTING);
    
                            return FileVisitResult.CONTINUE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

                        String className = typeElement.getSimpleName().toString() + "Thingy";
                        try {
                            JavaFileObject sourceFile = filer.createSourceFile(className, element);
                            Writer writer = sourceFile.openWriter();
                            try {
                                writer.write("class " + className + " {");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top