Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for sourceFiles (0.15 sec)

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

            return toolChain.meets(ToolChainRequirement.GCC) && (sourceType == "C" || sourceType == "Cpp")
        }
    
        static boolean rename(TestFile sourceFile) {
            final newFile = new File(sourceFile.getParentFile(), "changed_${sourceFile.name}")
            newFile << sourceFile.text
            sourceFile.delete()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java

        private static class StashedFile {
            private final File sourceFile;
            private final File stashFile;
    
            private StashedFile(File sourceFile, File stashFile) {
                this.sourceFile = sourceFile;
                this.stashFile = stashFile;
            }
    
            public void unstash() {
                moveFile(stashFile, sourceFile);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

            return intermediateFileFor(sourceFile, intermediateFilesDir, "~partial.swiftdoc")
        }
    
        def swiftDepsFileFor(File sourceFile, String intermediateFilesDir = "build/obj/main/debug") {
            return intermediateFileFor(sourceFile, intermediateFilesDir, ".swiftdeps")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftCompiler.java

                    for (File sourceFile : spec.getSourceFiles()) {
                        outputFileMap.newEntry(sourceFile.getAbsolutePath())
                            .dependencyFile(getOutputFileDir(sourceFile, objectDir, ".d"))
                            .diagnosticsFile(getOutputFileDir(sourceFile, objectDir, ".dia"))
                            .objectFile(getOutputFileDir(sourceFile, objectDir, objectFileExtension))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileFilesFactory.java

            }
    
            @Override
            public void processSource(File sourceFile) {
                if (visitSourceFile(sourceFile)) {
                    toRecompile.add(sourceFile);
                }
            }
    
            /**
             * @return true if this source file requires recompilation, false otherwise.
             */
            private boolean visitSourceFile(File sourceFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

            def first = file('first.gradle') << """
                task first
                assert buildscript.sourceFile == null
                assert "${server.uri}/external.gradle?first" == buildscript.sourceURI as String
            """
            def second = file('second.gradle') << """
                task second
                assert buildscript.sourceFile == null
                assert "${server.uri}/external.gradle?second" == buildscript.sourceURI as String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

                project(':b') {
                    dependencies {
                        implementation project(':a')
                    }
                }
            """
            def sourceFile = file("a/src/main/${language.name}/ToolImpl.${language.name}")
            sourceFile << """
                public class ToolImpl {
                    private class Thing { }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolver.java

            }
        }
    
        @Nullable
        @Override
        public IncludeFile resolveInclude(@Nullable File sourceFile, String includePath) {
            IncludePath path = sourceFile != null ? prependSourceDir(sourceFile, this.includePath) : this.includePath;
            return path.searchForDependency(includePath, sourceFile != null);
        }
    
        private DirectoryContents toDir(File includeDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  9. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val sourceFile: String
            val testSourceFile: String
            val sourceFileTree: String
            val testSourceFileTree: String
            when {
                descriptor.language === Language.CPP -> {
                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:51:21 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt

     */
    fun writeSourceCodeForPluginSpecBuildersFor(
        pluginDescriptorsClassPath: ClassPath,
        sourceFile: File,
        packageName: String
    ) {
        withSynchronousIO {
            writePluginDependencySpecAccessorsSourceCodeTo(
                sourceFile,
                pluginDependencySpecAccessorsFor(pluginDescriptorsClassPath),
                format = AccessorFormats.internal,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top