Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for someConf (0.13 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyConstraintHandlerTest.groovy

        }
    
        void "dynamic method fails for no args"() {
            when:
            dependencyConstraintHandler.someConf()
    
            then:
            def e = thrown(MissingMethodException)
            e.message.startsWith('Could not find method someConf() for arguments [] on ')
        }
    
        void "cannot add dependency constraint to unknown configuration"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:06 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultArtifactHandlerTest.groovy

        }
    
        void failsWhenNoParameters() {
            when:
            artifactHandler.someConf()
    
            then:
            def e = thrown(MissingMethodException)
            e.message == "Could not find method someConf() for arguments [] on object of type $DefaultArtifactHandler.name."
        }
    
        void failsWhenAddingToUnknownConfiguration() {
            when:
            artifactHandler.unknown("someNotation")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyHandlerTest.groovy

        }
    
        void "dynamic method fails for no args"() {
            when:
            dependencyHandler.someConf()
    
            then:
            def e = thrown(MissingMethodException)
            e.message.startsWith('Could not find method someConf() for arguments [] on ')
        }
    
        void "creates a project dependency from map"() {
            ProjectDependency projectDependency = Mock()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 10:37:21 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/DefaultExcludeRuleConverterTest.groovy

            exclude.getModuleId().getName() == module
            exclude.getArtifact() == null
            exclude.getMatcher() == null
    
            where:
            configurationName | configurations
            'someConf'        | Collections.singleton('someConf')
            null              | Collections.emptySet()
            ''                | Collections.emptySet()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy

                    compilation("first")
                }}
            """
    
            buildFile << """
                configurations {
                    dependencyScope("someConf")
                    resolvable("resolvableConf") {
                        extendsFrom(someConf)
                    }
                }
    
                firstChildComponent.withVariantsFromConfiguration(configurations.firstRuntimeElements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

                        assert unresolved.size() == 0
    
                        LenientConfiguration someConf = configurations.someConf.resolvedConfiguration.lenientConfiguration
    
                        unresolved = someConf.getUnresolvedModuleDependencies()
                        resolved = someConf.getFirstLevelModuleDependencies(Specs.SATISFIES_ALL)
    
                        assert resolved.size() == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ProjectDependencyFactory.java

            }
    
            @Override
            public void describe(DiagnosticsVisitor visitor) {
                visitor.candidate("Map with mandatory 'path' and optional 'configuration' key").example("[path: ':someProj', configuration: 'someConf']");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactVariantReselectionIntegrationTest.groovy

     */
    
    package org.gradle.integtests.resolve
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    
    /**
     * Tests variant reselection. i.e. anything of the form:
     * <pre>
     *     someConf.incoming.artifactView {
     *         withVariantReselection()
     *     }
     * </pre>
     */
    class ArtifactVariantReselectionIntegrationTest extends AbstractIntegrationSpec {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 18 19:46:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

            buildFile << """
    configurations {
        ${mavenCentralRepository()}
        someConf {
            allprojects { }
        }
    }
    assert configurations.names as List == ['repositories', 'someConf'] // side effect is that the configuration is actually created
    assert repositories.size() == 1
    """
    
            expect:
            fails "help"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/tasks/util/PatternFilterable.java

         * <pre class='autoTested'>
         * copySpec {
         *   from 'source'
         *   into 'destination'
         *   //an example of excluding files from certain configuration:
         *   exclude { it.file in configurations.someConf.files }
         * }
         * </pre>
         *
         * If excludes are not provided, then no files will be excluded. If excludes are provided, then files must not match
         * any exclude pattern to be processed.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 8K bytes
    - Viewed (0)
Back to top