- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 607 for IsFile (0.18 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptModelRequest.kt
// TODO remove hardcoded reference to settings.gradle once there's a public TAPI client api for that fun isProjectRoot(dir: File) = File(dir, "settings.gradle.kts").isFile || File(dir, "settings.gradle").isFile || dir.name == "buildSrc" tailrec fun test(dir: File): File = when { dir == importedProjectRoot -> importedProjectRoot
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt
fooScript.renameTo(fooScript.parentFile.resolve("bar.gradle.kts")) build("generateScriptPluginAdapters") assertFalse(existing("build/generated-sources/kotlin-dsl-plugins/kotlin/FooPlugin.kt").exists()) assertTrue(existing("build/generated-sources/kotlin-dsl-plugins/kotlin/BarPlugin.kt").isFile) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 10:30:22 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DirectoryFileTree.java
return new DirectoryFileTree(dir, patternSet, fileSystem, postfix); } @Override public boolean contains(File file) { return DirectoryTrees.contains(fileSystem, this, file) && file.isFile(); } @Override public void visitStructure(MinimalFileTreeStructureVisitor visitor, FileTreeInternal owner) { visitor.visitFileTree(dir, patternSet, owner); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 21:33:45 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/SystemPropertiesHandler.java
public static Map<String, String> getSystemProperties(File propertiesFile) { Map<String, String> propertyMap = new HashMap<String, String>(); if (!propertiesFile.isFile()) { return propertyMap; } Properties properties = new Properties(); try { FileInputStream inStream = new FileInputStream(propertiesFile); try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVswhereVersionLocator.java
continue; } File candidate = new File(programFilesDir, VISUAL_STUDIO_INSTALLER + "/" + VSWHERE_EXE); if (candidate.exists() && candidate.isFile()) { return candidate; } } return os.findInPath(VSWHERE_EXE); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LocalStateFixture.groovy
static String defineTaskWithLocalState(boolean useRuntimeApi, localStateFile = 'file("local-state.json")') { def action = """ if (System.getProperty("assertLocalState")) { assert localStateFile.isFile() } if (System.getProperty("assertNoLocalState")) { assert !localStateFile.exists() } new File("build/output.txt").text = "Output"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 08:00:14 UTC 2021 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/internal/LegacyCacheCleanupEnablement.java
File gradleUserHomeDirectory = userHomeDirProvider.getGradleUserHomeDirectory(); File gradleProperties = new File(gradleUserHomeDirectory, "gradle.properties"); if (gradleProperties.isFile()) { Properties properties = GUtil.loadProperties(gradleProperties); String cleanup = properties.getProperty(CACHE_CLEANUP_PROPERTY); if (cleanup != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 09 22:09:09 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy
lock.state.hasBeenUpdatedSince(state) where: lockMode << [Exclusive, Shared] } void isVersionLockFile(TestFile lockFile, boolean dirty) { assert lockFile.isFile() assert lockFile.length() <= 2048 lockFile.withDataInputStream { str -> // state version + creation number + sequence number assert str.readByte() == 3 str.readLong()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:52 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesTroubleshootingDependencyResolutionIntegrationTest.groovy
executer.inDirectory(sampleDir) when: succeeds(COPY_LIBS_TASK_NAME) then: sampleDir.file('build/libs/spring-web-5.0.3.BUILD-SNAPSHOT.jar').isFile() where: dsl << ['groovy', 'kotlin'] } @UsesSample("dependencyManagement/troubleshooting-cache-dynamic") def "can declare custom TTL for dependency with dynamic version"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltStaticLibraryBinaryTest.groovy
binary.linkFiles.files == [file] as Set and: binary.runtimeFiles.empty } def createFile() { def file = Stub(File) { exists() >> true isFile() >> true } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0)