- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for iterateDeclaredDependencies (0.42 sec)
-
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-iterateDependencies/tests/iterateDeclaredDependencies.out
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 87 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-iterateDependencies/tests/iterating-dependencies.sample.conf
executable: gradle args: iterateDeclaredDependencies flags: --quiet
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 122 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-iterateDependencies/kotlin/build.gradle.kts
val scm by configurations.creating dependencies { scm("org.eclipse.jgit:org.eclipse.jgit:4.9.2.201712150930-r") scm("commons-codec:commons-codec:1.7") } // tag::iteration-task[] tasks.register("iterateDeclaredDependencies") { doLast { val dependencySet = configurations["scm"].dependencies dependencySet.forEach { logger.quiet("${it.group}:${it.name}:${it.version}") } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 490 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-iterateDependencies/groovy/build.gradle
configurations { scm } dependencies { scm 'org.eclipse.jgit:org.eclipse.jgit:4.9.2.201712150930-r' scm 'commons-codec:commons-codec:1.7' } // tag::iteration-task[] tasks.register('iterateDeclaredDependencies') { doLast { DependencySet dependencySet = configurations.scm.dependencies dependencySet.each { logger.quiet "$it.group:$it.name:$it.version" } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 477 bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesWorkingWithDependenciesIntegrationTest.groovy
def "can iterate over dependencies assigned to a configuration with #dsl dsl"() { executer.inDirectory(sample.dir.file(dsl)) when: succeeds('iterateDeclaredDependencies') then: outputContains("""org.eclipse.jgit:org.eclipse.jgit:4.9.2.201712150930-r commons-codec:commons-codec:1.7""") where: dsl << ['groovy', 'kotlin'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 5K bytes - Viewed (0)