- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 265 for FlatMap (0.12 sec)
-
platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts
dirToArchive = layout.buildDirectory.dir("toArchive") } // tag::copy-single-file-example-with-task-properties[] tasks.register<Copy>("copyReport2") { from(myReportTask.flatMap { it.outputFile }) into(archiveReportsTask.flatMap { it.dirToArchive }) } // end::copy-single-file-example-with-task-properties[] // tag::copy-multiple-files-example[] tasks.register<Copy>("copyReportsForArchiving") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 8.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CompositeResultsStore.java
} @Override public Map<PerformanceExperimentOnOs, Long> getEstimatedExperimentDurationsInMillis() { return stores.stream() .flatMap(store -> store.getEstimatedExperimentDurationsInMillis().entrySet().stream()) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, Math::max, LinkedHashMap::new)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptTemplateModelBuilder.kt
project.serviceOf<ModuleRegistry>().run { StandardKotlinBuildScriptTemplateModel( gradleModules .map { getModule(it) } .flatMap { it.allRequiredModules } .fold(ClassPath.EMPTY) { classPath, module -> classPath + module.classpath } .asFiles ) } } internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplier.java
if (os.isLinux()) { return Arrays.stream(roots) .map(root -> FileBasedInstallationFactory.fromDirectory(root, getSourceName(), InstallationLocation::autoDetected)) .flatMap(Set::stream) .collect(Collectors.toSet()); } return Collections.emptySet(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 1.9K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt
val memberName: String, val pluginId: String, val implementationClass: String ) private fun pluginExtensionsFrom(jars: Iterable<File>): Sequence<PluginExtension> = jars.asSequence().flatMap(::pluginExtensionsFrom) private fun pluginExtensionsFrom(file: File): Sequence<PluginExtension> = pluginEntriesFrom(file) .asSequence() .map { (id, implementationClass) ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:07 UTC 2023 - 3.1K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinCompositeProviderFactory.kt
} public fun createFlattened(providers: List<P>): P = create(if (providers.size > 1) flatten(providers) else providers) public fun flatten(providers: List<P>): List<P> = providers.flatMap { provider -> // `KotlinCompositeProvider<P>` should always be a provider of type `P` itself, so the cast is legal. Still, suppressing the
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/test/java/org/gradle/api/plugins/jvm/internal/DefaultJvmLanguageUtilitiesTest.groovy
def compileTask = Mock(JavaCompile) def compileTaskProvider = Stub(TaskProvider) { configure(_) >> { it[0].execute(compileTask) } get() >> compileTask flatMap(_) >> objectFactory().directoryProperty() } def allJava = Mock(SourceDirectorySet) def allSource = Mock(SourceDirectorySet) def classesTask = Mock(Task)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 07:34:41 UTC 2023 - 3K bytes - Viewed (0) -
analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtStandaloneProjectStructureProvider.kt
} internal val binaryModules: List<KtBinaryModule> by lazy { allKtModules .flatMap { it.allDirectDependencies() } .filterIsInstance<KtBinaryModule>() } override val allSourceFiles: List<PsiFileSystemItem> by lazy { buildList {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Apr 10 16:23:23 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java
} private static Map<AccessorKey, ReplacedAccessor> mapOldAccessorsOfUpgradedProperties(List<UpgradedProperty> upgradedProperties) { return upgradedProperties.stream() .flatMap(UpgradePropertiesRuleSetup::mapOldAccessorsOfUpgradedProperty) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecMainClassIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 4.2K bytes - Viewed (0)