Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for sourceFiles (0.55 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            builder.build() == defaultOptions
        }
    
        def "can include/exclude source files"() {
            def file1 = new File("/src/Person.java")
            def file2 = new File("Computer.java")
            spec.sourceFiles = [file1, file2]
    
            when:
            builder.includeSourceFiles(true)
    
            then:
            builder.build() == defaultOptions + [file1.path, file2.path]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		// Group nodes for each source file.
    		var sourceFiles graph.Nodes
    		fileNodes := make(map[string]graph.Nodes)
    		for _, n := range functionNodes[name] {
    			if n.Info.File == "" {
    				continue
    			}
    			if fileNodes[n.Info.File] == nil {
    				sourceFiles = append(sourceFiles, n)
    			}
    			fileNodes[n.Info.File] = append(fileNodes[n.Info.File], n)
    		}
    
    		if len(sourceFiles) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

        outputDirectory: File,
        sourceFiles: Collection<File>,
        classPath: Collection<File>,
        logger: Logger,
    ) {
    
        val success = compileToDirectory(
            outputDirectory,
            KotlinCompilerOptions(
                jvmTarget = GradleJvmVersion.minimalJavaVersion
            ),
            "gradle-api-extensions",
            sourceFiles,
            logger,
            classPath = classPath
        )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

        }
    
        def toOtherSourceSet(SourceFile sourceFile) {
            return new SourceFile("other", sourceFile.name, sourceFile.content)
        }
    
        def renameSourceFile(SourceFile sourceFile, String name) {
            return new SourceFile(sourceFile.path, name, sourceFile.content)
        }
    
        def addFunction(SourceFile sourceFile) {
            return new SourceFile(sourceFile.path, sourceFile.name, sourceFile.content + """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

            given:
            app.library.headerFiles*.writeToDir(file("src/hello"))
            app.googleTestTests.writeSources(file("src/helloTest"))
            app.library.sourceFiles*.writeToDir(file("src/variant"))
    
            when:
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) { l ->
                targetPlatform "x86"
                binaries.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

            given:
            app.library.headerFiles*.writeToDir(file("src/hello"))
            app.cunitTests.writeSources(file("src/helloTest"))
            app.library.sourceFiles*.writeToDir(file("src/variant"))
    
            when:
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) { l ->
                targetPlatform "x86"
                binaries.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateXcodeProjectFileTask.java

            };
        }
    
        private PBXSourcesBuildPhase newSourceBuildPhase(FileCollection sourceFiles) {
            PBXSourcesBuildPhase result = new PBXSourcesBuildPhase();
            for (File file : sourceFiles) {
                PBXFileReference fileReference = pathToFileReference.get(file.getAbsolutePath());
                result.getFiles().add(new PBXBuildFile(fileReference));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginTemplatesTest.kt

        fun publishPluginsTo(
            repository: File,
            group: String = "org.acme",
            version: String = "1.0",
            sourceFiles: FoldersDslExpression
        ) {
            withFolders {
    
                "plugins" {
    
                    "src/main/kotlin" {
                        sourceFiles()
                    }
    
                    withFile("settings.gradle.kts", defaultSettingsScript)
    
                    withFile(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

        )
    }
    
    
    @VisibleForTesting
    internal
    fun compileToDirectory(
        outputDirectory: File,
        compilerOptions: KotlinCompilerOptions,
        moduleName: String,
        sourceFiles: Iterable<File>,
        logger: Logger,
        classPath: Iterable<File>,
    ): Boolean {
    
        withRootDisposable {
            withMessageCollectorFor(logger, EmbeddedKotlinCompilerWarning.WARN) { messageCollector ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 31 08:46:17 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top