Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for swiftdeps (0.15 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandlerTest.groovy

            def swiftDeps = swiftDepsHandler.parse(moduleSwiftDeps)
            assertNothingChanged(swiftDeps)
        }
    
        def "adjusts only provided files"() {
            expect:
            swiftDepsHandler.adjustTimestampsFor(moduleSwiftDeps, [barSource])
            def swiftDeps = swiftDepsHandler.parse(moduleSwiftDeps)
            assertFileHasResetTimestamp(swiftDeps, barSource)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandler.java

            // Update any previously known files with a bogus timestamp to force a rebuild
    
            for (File changedSource : changedSources) {
                if (swiftDeps.inputs.containsKey(changedSource.getAbsolutePath())) {
                    swiftDeps.inputs.put(changedSource.getAbsolutePath(), RESET_TIMESTAMP);
                }
            }
        }
    
        private void write(File moduleSwiftDeps, final SwiftDeps swiftDeps) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top