- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 54 for FileTreeInternal (0.17 sec)
-
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CompilationSourceDirs.java
} @Override public void visitFileTreeBackedByFile(File file, FileTreeInternal fileTree, FileSystemMirroringFileTree sourceTree) { cannotInferSourceRoots(fileTree); } @Override public void visitFileTree(File root, PatternSet patterns, FileTreeInternal fileTree) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt
override fun visitFileTree(root: File, patterns: PatternSet, fileTree: FileTreeInternal) = unsupportedFileTree(fileTree) override fun visitFileTreeBackedByFile(file: File, fileTree: FileTreeInternal, sourceTree: FileSystemMirroringFileTree) = unsupportedFileTree(fileTree) private fun unsupportedFileTree(fileTree: FileTreeInternal): Nothing = throw UnsupportedOperationException(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/TemplateFactoryTest.groovy
setup: def mainSourceDirectory = Mock(Directory) def testSourceDirectory = Mock(Directory) def mainSourceFileTree = Mock(FileTreeInternal) def testSourceFileTree = Mock(FileTreeInternal) def delegate = Mock(TemplateOperation) def settings = createInitSettings( "my.lib") def factory = new TemplateFactory(settings, Language.JAVA, templateOperationFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 20:26:42 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java
} private void addTreeContents(FileTreeInternal fileTree) { // TODO - add some convenient way to visit the files of the tree without collecting them into a set files.addAll(fileTree.getFiles()); } @Override public void visitFileTree(File root, PatternSet patterns, FileTreeInternal fileTree) { addTreeContents(fileTree);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 07:32:50 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy
} def "dependencies are union of dependencies of source trees"() { def task1 = Stub(Task) def task2 = Stub(Task) def task3 = Stub(Task) def tree1 = Stub(FileTreeInternal) def tree2 = Stub(FileTreeInternal) given: tree1.visitDependencies(_) >> { TaskDependencyResolveContext context -> context.add(task1) context.add(task2) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileTree.java
} @Override public FileTreeInternal getAsFileTree() { return this; } @Override public FileTree plus(FileTree fileTree) { return new UnionFileTree(taskDependencyFactory, this, Cast.cast(FileTreeInternal.class, fileTree)); } @Override public FileTree visit(Closure closure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/EmptyFileCollection.java
return ImmutableSet.of(); } @Override protected void visitContents(FileCollectionStructureVisitor visitor) { } @Override public FileTreeInternal getAsFileTree() { return new EmptyFileTree(FileTreeInternal.DEFAULT_TREE_DISPLAY_NAME); } @Override public Optional<FileCollectionExecutionTimeValue> calculateExecutionTimeValue() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 14:55:28 UTC 2024 - 2.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/AbstractArchiveFileTree.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.file.archive; import org.gradle.api.internal.file.FileTreeInternal; import org.gradle.api.internal.file.collections.FileSystemMirroringFileTree; import org.gradle.api.internal.tasks.TaskDependencyContainer; import org.gradle.api.internal.tasks.TaskDependencyResolveContext;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeSpec.groovy
*/ package org.gradle.api.internal.file.collections import org.gradle.api.Action import org.gradle.api.file.FileVisitDetails import org.gradle.api.file.FileVisitor import org.gradle.api.internal.file.FileTreeInternal import org.gradle.internal.nativeintegration.filesystem.FileSystem import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.gradle.util.UsesNativeServices import org.junit.Rule
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java
return new DefaultConfigurableFileTree(fileResolver, listener, patternSetFactory, taskDependencyFactory, directoryFileTreeFactory); } @Override public FileTreeInternal treeOf(List<? extends FileTreeInternal> fileTrees) { if (fileTrees.isEmpty()) { return FileCollectionFactory.emptyTree(); } else if (fileTrees.size() == 1) { return fileTrees.get(0);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 18:57:37 UTC 2024 - 13.8K bytes - Viewed (0)