- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 455 for hasFile (0.43 sec)
-
platforms/documentation/docs/src/snippets/dependencyManagement/declaringDependencies-fileDependencies/kotlin/build.gradle.kts
doLast { projectDir.file("ant").asFile.mkdirs() projectDir.file("libs").asFile.mkdirs() projectDir.file("tools").asFile.mkdirs() projectDir.file("ant/antcontrib.jar").asFile.createNewFile() projectDir.file("libs/commons-lang.jar").asFile.createNewFile() projectDir.file("libs/log4j.jar").asFile.createNewFile() projectDir.file("tools/a.exe").asFile.createNewFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java
} @Nullable @Override public HashCode hashFile(FileSystemLocationSnapshot snapshot, FileSystemLocationSnapshotHasher hasher, HashCode configurationHash) throws IOException { return hashFile(snapshot, () -> hasher.hash(snapshot), configurationHash); } @Nullable @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftLibraryPluginTest.groovy
compileDebug.objectFileDir.get().asFile == projectDir.file("build/obj/main/debug") compileDebug.moduleFile.get().asFile == projectDir.file("build/modules/main/debug/TestLib.swiftmodule") compileDebug.debuggable !compileDebug.optimized def linkDebug = project.tasks.linkDebug linkDebug instanceof LinkSharedLibrary
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 13.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheServiceTest.groovy
when: def actualHash = snapshotterCache.hashFile(snapshotContext, delegate, configurationHash) then: 1 * delegate.hash(snapshotContext) >> expectedHash actualHash == expectedHash 0 * _ } def "caches the result"() { def expectedHash = TestHashCodes.hashCodeFrom(123) when: def actualHash = snapshotterCache.hashFile(snapshotContext, delegate, configurationHash)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/plugins/NativeBasePluginTest.groovy
debugExeFileProp.get().asFile == installTask.installedExecutable.get().asFile linkTaskProp.get() == linkTask exeFileTaskProp.get() == linkTask and: installDirProp.get().asFile == installTask.installDirectory.get().asFile installTaskProp.get() == installTask } def "adds tasks to assemble and strip an executable"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 20.9K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy
@OutputFile final RegularFileProperty out2 = project.objects.fileProperty() @TaskAction def go() { out1.get().asFile.text = "1" out2.get().asFile.text = "2" } } """ } def taskTypeWithIntInputProperty() { buildFile << """ class InputTask extends DefaultTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy
final RegularFileProperty outputFile = project.objects.fileProperty() @TaskAction void go() { def file = outputFile.asFile.get() file.text = inputFile.asFile.get().text } } class MergeTask extends DefaultTask { @InputFiles
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 17.3K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts
is ValidatePlugins -> listOf(outputFile.get().asFile) is FindBrokenInternalLinks -> listOf(reportFile.get().asFile) is DistributionTest -> listOf( gradleInstallationForTest.gradleUserHomeDir.dir("test-kit-daemon").get().asFile, gradleInstallationForTest.gradleUserHomeDir.dir("kotlin-compiler-daemon").get().asFile, gradleInstallationForTest.daemonRegistry.get().asFile )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 20 15:24:41 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/plugins/XCTestConventionPluginTest.groovy
install instanceof InstallXCTestBundle install.installDirectory.get().asFile == project.file("build/install/test") install.runScriptFile.get().asFile.name == OperatingSystem.current().getScriptName("TestAppTest") def test = project.tasks.xcTest test instanceof XCTest test.workingDirectory.get().asFile == projectDir.file("build/install/test") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8K bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPluginTest.groovy
compileCpp.objectFileDir.get().asFile == projectDir.file("output/obj/test") def link = project.tasks.linkTest link.linkedFile.get().asFile == projectDir.file("output/exe/test/" + OperatingSystem.current().getExecutableName("someAppTest")) def install = project.tasks.installTest install.installDirectory.get().asFile == project.file("output/install/test")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.3K bytes - Viewed (0)