- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for fileValue (0.13 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy
// Make sure that `baseDir` isn't the same as the base for the resolver. def baseDir = tmpDir.testDirectory.createDir("base") def baseDirectory = factory.newDirectoryProperty().fileValue(baseDir) def "can set value using absolute file"() { given: def file = tmpDir.file("thing") def prop = propertyWithNoValue() prop.set(file) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy
} def "fails if custom Java home does not exist"() { def javaCompile = project.tasks.create("compileJava", JavaCompile) javaCompile.destinationDirectory.fileValue(temporaryFolder.createDir()) def invalidJavaHome = "invalidJavaHome" when: javaCompile.options.fork = true javaCompile.options.forkOptions.javaHome = new File("invalidJavaHome")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/AbstractJvmPluginServicesTest.groovy
def testRootDir = temporaryFolder.getTestDirectory().getCanonicalFile() getBuildDirectory() >> projectDirProperty.fileValue(new File(testRootDir, "build")) getProjectDirectory() >> projectDirProperty.fileValue(testRootDir).get() } getConvention() >> Stub(Convention) { findPlugin(_) >> null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 3.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/RegularFileProperty.java
/** * {@inheritDoc} */ @Override RegularFileProperty value(Provider<? extends RegularFile> provider); /** * {@inheritDoc} */ @Override RegularFileProperty fileValue(@Nullable File file); /** * {@inheritDoc} */ @Override RegularFileProperty fileProvider(Provider<File> provider); /** * {@inheritDoc} */ @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 10 18:00:11 UTC 2022 - 1.9K bytes - Viewed (0) -
platforms/software/reporting/src/main/java/org/gradle/api/reporting/internal/SimpleReport.java
.replaceWith("outputLocation") .willBeRemovedInGradle9() .withDslReference() .nagUser(); getOutputLocation().fileValue(file); } @Override public OutputType getOutputType() { return outputType; } @Override public Report configure(Closure configure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 13:05:08 UTC 2024 - 2.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/OriginFixture.groovy
} if (gradle.parent == null) { def collector = gradle.sharedServices.registerIfAbsent("originsCollector", OriginCollector) { parameters.originJson.fileValue(new File("${TextUtil.normaliseFileSeparators(file.absolutePath)}")) } gradle.services.get(${BuildEventListenerRegistryInternal.name}).onOperationCompletion(collector) } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/FileSystemLocationProperty.java
* * <p>This method is the same as {@link #set(File)} but allows method chaining.</p> * * @return this * @since 6.0 */ FileSystemLocationProperty<T> fileValue(@Nullable File file); /** * Sets the location of this file, using a {@link File} {@link Provider} instance. {@link File} instances with relative paths are resolved relative to the project directory of the project
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 12:28:22 UTC 2024 - 3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheKeyFixture.groovy
} if (gradle.parent == null) { def collector = gradle.sharedServices.registerIfAbsent("buildCacheKeyCollector", BuildCacheKeyCollector) { parameters.buildCacheKeyJson.fileValue(new File("${TextUtil.normaliseFileSeparators(file.absolutePath)}")) } gradle.services.get(${BuildEventListenerRegistryInternal.name}).onOperationCompletion(collector) } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/DirectoryProperty.java
/** * {@inheritDoc} */ @Override DirectoryProperty value(Provider<? extends Directory> provider); /** * {@inheritDoc} */ @Override DirectoryProperty fileValue(@Nullable File file); /** * {@inheritDoc} */ @Override DirectoryProperty fileProvider(Provider<File> provider); /** * {@inheritDoc} */ @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 10 18:00:11 UTC 2022 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java
implementation, classLoaderHasher.getClassLoaderHash(implementation.getClass().getClassLoader())); } @Override public ValueSnapshot fileValue(File value) { return new FileValueSnapshot(value); } @Override public ValueSnapshot attributeValue(Attribute<?> value) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 6.5K bytes - Viewed (0)