- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 607 for IsFile (0.11 sec)
-
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaWithDocsAndFeaturesIntegTest.groovy
def javadocFile = file("build/libs/${javaLibrary.artifactId}-${javaLibrary.version}${featurePostFix}-javadoc.jar") assert javadocFile.isFile() def javadocContents = new ZipTestFixture(javadocFile) javadocContents.assertContainsFile("${classNameForFeature(featureName)}.html")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinBuildScriptModelCrossVersionSpec.groovy
def fooJar = withEmptyJar("$location/libs/foo.jar") def barJar = withEmptyJar("$location/libs/bar.jar") assertTrue parentJar.isFile() assertTrue fooJar.isFile() assertTrue barJar.isFile() def parentBuildScript = withFile("$location/build.gradle.kts", buildScriptDependencyOn(parentJar))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 08:52:51 UTC 2023 - 17.5K bytes - Viewed (0) -
testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/MavenDownloaderTest.groovy
Assume.assumeFalse(ExceptionUtils.getStackTrace(e).contains("Connection timed out")) throw e } then: install.home.isDirectory() install.mvn.isFile() install.version == mavenVersion MavenInstallation.probeVersion(install.home) == mavenVersion where: mavenVersion << ['3.3.9', '3.5.0'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocExecHandleBuilder.java
} if (!directory.exists()) { throw new IllegalArgumentException("execDirectory doesn't exists!"); } if (directory.isFile()) { throw new IllegalArgumentException("execDirectory is a file"); } this.execDirectory = directory; return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy
cache.open() } finally { cache.close() } then: 0 * _ // Does not call initialization action. dir.file("cache.properties").isFile() dir.file("some-file").isFile() } def "will rebuild cache if not unlocked cleanly"() { given: def dir = temporaryFolder.testDirectory.createDir("cache") def initialized = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:40:49 UTC 2024 - 9.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
public PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException { PersistedToolchains toolchains = null; if (userToolchainsFile != null && userToolchainsFile.isFile()) { try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) { toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in)); } catch (Exception e) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 09:07:17 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/JarFilePackageLister.java
if (!jarFile.exists()) { throw new IllegalArgumentException("jarFile doesn't exists! (" + jarFileAbsolutePath + ")"); } if (!jarFile.isFile()) { throw new IllegalArgumentException("jarFile is not a file! (" + jarFileAbsolutePath + ")"); } if (!hasExtension(jarFile, ".jar")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/BuildFileProjectSpec.java
if (!buildFile.exists()) { throw new InvalidUserDataException(String.format("Build file '%s' does not exist.", buildFile)); } if (!buildFile.isFile()) { throw new InvalidUserDataException(String.format("Build file '%s' is not a file.", buildFile)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/CopyingClasspathFileTransformer.java
return source; } // Copy the file into the cache File cachedFile = new File(cacheDir, "o_" + sourceSnapshot.getHash().toString() + '/' + source.getName()); if (!cachedFile.isFile()) { // Just copy the jar GFileUtils.copyFile(source, cachedFile); } return cachedFile; } @Override public ClasspathFileHasher getFileHasher() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 20:14:01 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinDslScriptsModelBuilder.kt
(findProperty(KotlinDslScriptsModel.SCRIPTS_GRADLE_PROPERTY_NAME) as? String) ?.split("|") ?.asSequence() ?.filter { it.isNotBlank() } ?.map(::canonicalFile) ?.filter { it.isFile } ?.toList() // TODO:kotlin-dsl naive implementation for now, refine private fun Project.collectKotlinDslScripts(): List<File> = buildList { addAll(discoverInitScripts())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 18:13:21 UTC 2023 - 9.9K bytes - Viewed (0)