Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setDependencySpec (0.53 sec)

  1. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskSpec.groovy

            task.setConfiguration 'foo'
            task.setDependencySpec 'bar'
            then:
            task.dependencySpec != null
            task.configuration.name == 'foo'
        }
    
        def "can limit the paths to a dependency"() {
            when:
            project.configurations.create("foo")
            task.setConfiguration 'foo'
            task.setDependencySpec 'bar'
            task.setShowSinglePathToDependency true
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 17 06:46:38 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

                }
                dependencies {
                    conf 'org:top:1.0'
                }
                task insight(type: DependencyInsightReportTask) {
                    showingAllVariants = false
                    setDependencySpec { it.requested.module == 'leaf2' }
                    configuration = configurations.conf
                }
            """
    
            when:
            run "insight"
    
            then:
            outputContains """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/DependencyInsightReportTask.java

     * For more information on how to configure those please refer to docs for {@link #setDependencySpec(Object)} and
     * {@link #setConfiguration(String)}.
     * <p>
     * The task can also be configured from the command line.
     * For more information please refer to {@link #setDependencySpec(Object)}, {@link #setConfiguration(String)},
     * {@link #setShowSinglePathToDependency(boolean)}, and {@link #getShowingAllVariants()}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top