- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for collectEntries (0.14 sec)
-
platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpComponentFixture.groovy
List<WbModule> getModules() { return component."wb-module"."dependent-module".collect { new WbModule(it) } } Map<String, String> getModuleProperties() { return component."wb-module".property.collectEntries { [(it.@name) : it.@value] } } WbModule lib(String jarName) { def module = modules.find { def handle = it.node.@handle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleContainerExecuter.groovy
} result } @CompileDynamic private OutputScrapingExecutionResult executeInContainer() { def invocation = buildInvocation() container.withEnv(invocation.environmentVars.collectEntries { k, v -> [k, v]}) def containerResult = container.execute(["/gradle-under-test/bin/gradle", *invocation.args] as String[]) def result if (containerResult.exitCode == 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy
} } """.stripIndent() resource } } Map<String, String> withFailingTests(int num) { (1..num).collectEntries() { final testName = "OtherTest_${it}" as String final resource = "test_${it}" as String root.file("src/test/java/OtherTest_${it}.java") << """ $testFrameworkImports
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/scripts/process-log.groovy
} excludeFile << JsonOutput.prettyPrint(content) } } private sortDeep(entry) { if (entry instanceof Map) { entry.collectEntries { [(it.key), sortDeep(it.value)] }.sort() } else if (entry instanceof Iterable) { entry.collect { sortDeep(it) }.sort() } else { entry }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/AbstractTarBuildCacheEntryPackerSpec.groovy
abstract protected Deleter createDeleter() def pack(OutputStream output, OriginWriter writeOrigin = this.writeOrigin, TreeDefinition... treeDefs) { Map<String, FileSystemSnapshot> snapshots = treeDefs.collectEntries { treeDef -> FileSystemSnapshot result = FileSystemSnapshot.EMPTY if (treeDef.root != null) { result = fileSystemAccess.read(treeDef.root.absolutePath) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/ide/visualstudio/fixtures/SolutionFile.groovy
return true } def assertReferencesProject(ProjectFile expectedProject, Collection<String> configurations) { assertReferencesProject(expectedProject, configurations.collectEntries {[(it):it]}) } def assertReferencesProject(ProjectFile expectedProject, Map<String, String> configurations) { assertReferencesProject(expectedProject.name, expectedProject, configurations) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r60/KotlinDslScriptsModelCrossVersionSpec.groovy
} Map<File, KotlinDslScriptModel> singleRequestModels = model.scriptModels and: Map<File, KotlinBuildScriptModel> multiRequestsModels = spec.scripts.values().collectEntries { [(it): kotlinBuildScriptModelFor(projectDir, it)] } then: spec.scripts.values().each { script ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 16 19:10:39 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterTest.groovy
def "adapter can subscribe to progress events of types #operationTypes"() { given: Map<OperationType, List<ProgressListener>> listeners = operationTypes.collectEntries { [(it): [Stub(ProgressListener)]] } when: def adapter = new BuildProgressListenerAdapter(listeners) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/AbstractTaskInputsAndOutputsTest.groovy
} def inputProperties() { def visitor = new GetInputPropertiesVisitor() TaskPropertyUtils.visitProperties(walker, task, visitor) return visitor.properties.collectEntries { [it.propertyName, InputParameterUtils.prepareInputParameterValue(it.value)] } } def inputFileProperties() { def inputFiles = [:]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/VariantContext.groovy
} return '_' + dimensions.values()*.name.join('_').replaceAll('-', '_') } static VariantContext of(Map<String, String> dimensions = [:]) { return new VariantContext(dimensions.collectEntries([:]) { key, value -> [(key): VariantDimension.of(key, value)] }) } static List<VariantContext> from(Object[] listOfDimensionArrays) { def result = new ArrayList<VariantContext>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.2K bytes - Viewed (0)