Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 74 for sourceFile (0.14 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

        fun compileScript(scriptName: String, scriptBody: String, scriptClass: String): ClassFixture {
            val sourceFile = newFile("$scriptName.kt", scriptBody)
    
            val binDir = newFolder("bin")
            compileToDirectory(
                binDir,
                KotlinCompilerOptions(),
                "test",
                listOf(sourceFile),
                loggerFor<KotlinApiClassExtractorTest>(),
                emptyList()
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

                    { apiSpec.apply(it) }
                ).groupedByTarget()
    
            val sourceFiles =
                ArrayList<File>(extensionsPerTarget.size)
    
            val packageDir =
                outputDirectory.resolve(packageName.replace('.', File.separatorChar))
    
            fun sourceFile(name: String) =
                packageDir.resolve(name).also { sourceFiles.add(it) }
    
            packageDir.mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. 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)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

            then:
            final projectFile = projectFile("mainExe.vcxproj")
            final List<SourceFile> resources = resourceApp.resourceSources
            final List<SourceFile> sources = resourceApp.sourceFiles - resources
            assert projectFile.headerFiles == resourceApp.headerFiles*.withPath("src/main").sort()
            assert projectFile.sourceFiles == ['build.gradle'] + sources*.withPath("src/main").sort()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/kubelet/config/file_linux_test.go

    					testCase.writeToFile(linkedDirName, fileName, t)
    					return
    				}
    
    				testCase.writeToFile(dirName, fileName, t)
    			}
    
    			go addFile()
    
    			// For !watchDir: expect an update by SourceFile.reloadConfig().
    			// For watchDir: expect at least one update from CREATE & MODIFY inotify event.
    			// Shouldn't expect two updates from CREATE & MODIFY because CREATE doesn't guarantee file written.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  10. 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)
Back to top