- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 188 for ToSet (0.87 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDependencyTest.groovy
def "flattens collections"() { when: dependency.add(toSet(otherTask)) then: dependency.getDependencies(task) == toSet(otherTask) } def "flattens maps"() { when: dependency.add([key: otherTask]) then: dependency.getDependencies(task) == toSet(otherTask) } def "flattens arrays"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileCollectionSpec.groovy
dir1.file("ignored1").createFile() def collection = containing(file1, file2, dir1, missing) expect: assertSetContainsForFileSet(collection, toSet("f1", "f2")) assertSetContainsForMatchingTask(collection, toSet("f1", "f2")) } void includesFilesAndContentsOfDirectoriesWhenConvertedToTreeAndAddedToAntBuilder() { TestFile testDir = this.testDir.getTestDirectory()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/NativeComponentRulesTest.groovy
} } def "does not use variant dimension names for single valued dimensions"() { when: NativeComponentRules.createBinariesImpl(component, platforms, [buildType].toSet(), [flavor].toSet(), nativePlatforms, nativeDependencyResolver, TestFiles.fileCollectionFactory()) then: _ * component.targetPlatforms >> [platformRequirement]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/jvm/plugins-java-library/src/test/groovy/org/gradle/api/plugins/JavaLibraryPluginTest.groovy
then: testCompileClasspath.extendsFrom == toSet(testCompileOnly, testImplementation) !testCompileClasspath.visible testCompileClasspath.transitive when: def defaultConfig = project.configurations.getByName(Dependency.DEFAULT_CONFIGURATION) then: defaultConfig.extendsFrom == toSet(runtimeElements) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 20:08:52 UTC 2024 - 9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactory.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 17.4K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java
Set<JavaMethod> getters = gettersAndSetters.get(Boolean.TRUE).stream().map(Accessor::getMethod).collect(toSet()); Set<JavaMethod> setters = gettersAndSetters.get(Boolean.FALSE).stream().map(Accessor::getMethod).collect(toSet()); if (!getters.isEmpty() && !setters.isEmpty()) { return new Accessors(owningClass, propertyName, getters, setters); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/GradleBuildBuilderTest.groovy
def includedBuild2 = Mock(IncludedBuildInternal) rootProject.childProjects >> [].toSet() rootProject.identityPath >> Path.path(":some:identity:path") includedProject1.childProjects >> [].toSet() includedProject1.identityPath >> Path.path(":some:identity:path") includedProject2.childProjects >> [].toSet() includedProject2.identityPath >> Path.path(":some:identity:path")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/BindingInitializer.java
import java.util.*; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; import org.apache.maven.di.Key; import static java.util.stream.Collectors.toSet; public abstract class BindingInitializer<T> { private final Set<Key<?>> dependencies; protected BindingInitializer(Set<Key<?>> dependencies) { this.dependencies = dependencies; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/FileBasedInstallationFactory.java
import java.io.File; import java.util.Collections; import java.util.Set; import java.util.function.BiFunction; import java.util.stream.Stream; import static java.util.stream.Collectors.toSet; public class FileBasedInstallationFactory { public static Set<InstallationLocation> fromDirectory(File rootDirectory, String supplierName, BiFunction<File, String, InstallationLocation> locationFactory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 17:56:01 UTC 2024 - 1.4K bytes - Viewed (0)