- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for flattensCollections (0.28 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultObjectConfigurationActionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy
expect: flattenCollections([1, 2, 3] as Set) == [1, 2, 3] flattenCollections("asdfa") == ["asdfa"] flattenCollections(null) == [null] flattenCollections([null, [null, null]]) == [null, null, null] flattenCollections(integers) == integers flattenCollections([1, 2, 3] as Set) == [1, 2, 3] flattenCollections([] as Set) == [] when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java
* * @param things The things to flatten * @return A flattened list of the given things */ public static List<?> flattenCollections(Object... things) { return flattenCollections(Object.class, things); } /** * Recursively unpacks all the given things into a flat list, ensuring they are of a certain type. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 24.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java
* * @param things The things to flatten * @return A flattened list of the given things */ public static List<?> flattenCollections(Object... things) { return flattenCollections(Object.class, things); } /** * Recursively unpacks all the given things into a flat list, ensuring they are of a certain type. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 11:17:19 UTC 2024 - 26K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DynamicAddDependencyMethods.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandler.java
import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import static org.gradle.util.internal.CollectionUtils.flattenCollections; public class DefaultRepositoryHandler extends DefaultArtifactRepositoryContainer implements RepositoryHandlerInternal { public static final String GRADLE_PLUGIN_PORTAL_REPO_NAME = "Gradle Central Plugin Repository";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 15:16:47 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/specs/AbstractCompositeSpecTest.java
} }; } @Test public void init() { org.gradle.api.specs.CompositeSpec<Object> compositeSpec = createCompositeSpec(spec1, spec2); Assert.assertEquals(CollectionUtils.flattenCollections(spec1, spec2), compositeSpec.getSpecs()); } protected Spec<Object>[] createAtomicElements(boolean... satisfies) { List<Spec<Object>> result = new ArrayList<Spec<Object>>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/software/reporting/src/main/java/org/gradle/api/reporting/GenerateBuildDashboard.java
allAggregatedReports, reporting -> reporting.getReports().getEnabled() ); return new LinkedHashSet<Report>(CollectionUtils.flattenCollections(Report.class, enabledReportSets)); } private Set<Reporting<? extends ReportContainer<?>>> getAggregatedTasks() { final Set<Reporting<? extends ReportContainer<?>>> reports = new HashSet<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 11:30:12 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/SourceFoldersCreator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 14.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java
*/ private ImmutableList<URL> withImplementation(List<URL> additionalImplementationClasspath) { return ImmutableList.copyOf(CollectionUtils.flattenCollections(URL.class, moduleRegistry.getModule("gradle-worker-main").getImplementationClasspath().getAsURLs(), moduleRegistry.getModule("gradle-logging").getImplementationClasspath().getAsURLs(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 19.4K bytes - Viewed (0)