Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for excludeRules (0.16 sec)

  1. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/dependency/DefaultIvyDependency.java

        private final Set<ExcludeRule> excludeRules;
    
        public DefaultIvyDependency(
            String organisation,
            String module,
            String revision,
            String confMapping,
            boolean transitive,
            @Nullable String revConstraint,
            Set<DependencyArtifact> artifacts,
            Set<ExcludeRule> excludeRules
        ) {
            this.organisation = organisation;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/dependencies/DefaultMavenDependency.java

        private final String scope;
        private final Set<ExcludeRule> excludeRules;
        private final boolean optional;
    
        public DefaultMavenDependency(
            String groupId,
            String artifactId,
            @Nullable String version,
            @Nullable String type,
            @Nullable String classifier,
            @Nullable String scope,
            Set<ExcludeRule> excludeRules,
            boolean optional
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/ConfigurationSoftwareComponentVariant.java

            }
            return capabilities;
        }
    
        @Override
        public Set<ExcludeRule> getGlobalExcludes() {
            if (excludeRules == null) {
                this.excludeRules = ImmutableSet.copyOf(((ConfigurationInternal) configuration).getAllExcludeRules());
            }
            return excludeRules;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/AbstractDependencyMetadataConverter.java

            return artifact.getExtension() != null ? artifact.getExtension() : artifact.getType();
        }
    
        protected List<ExcludeMetadata> convertExcludeRules(Set<ExcludeRule> excludeRules) {
            return CollectionUtils.collect((Iterable<ExcludeRule>) excludeRules, excludeRuleConverter::convertExcludeRule);
        }
    
        protected List<IvyArtifactName> convertArtifacts(Set<DependencyArtifact> dependencyArtifacts) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataSpec.java

            final Set<ExcludeRule> excludeRules;
            final List<Attribute> attributes;
            final List<Capability> requestedCapabilities;
            final boolean endorseStrictVersions;
            final String reason;
            final ArtifactSelector artifactSelector;
    
            public Dependency(
                DependencyCoordinates coordinates,
                Set<ExcludeRule> excludeRules,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/dsl/org.gradle.api.artifacts.Configuration.xml

                </tr>
                <tr>
                    <td>artifacts</td>
                </tr>
                <tr>
                    <td>allArtifacts</td>
                </tr>
                <tr>
                    <td>excludeRules</td>
                </tr>
                <tr>
                    <td>resolutionStrategy</td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultExcludeRuleContainerTest.java

        }
    
        private void assertExcludeRuleContainerHasCorrectExcludeRules(Set<ExcludeRule> excludeRules, Map... excludeRuleArgs) {
            List<Map> foundRules = new ArrayList<Map>();
            for (ExcludeRule excludeRule : excludeRules) {
                for (Map excludeRuleArg : excludeRuleArgs) {
                    if (matchingExcludeRule(excludeRule, excludeRuleArg)) {
                        foundRules.add(excludeRuleArg);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:11 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/DefaultLocalConfigurationMetadataBuilderTest.groovy

            def excludeRule = Mock(ExcludeRule)
            ExcludeMetadata ivyExcludeRule = Mock(Exclude)
    
            when:
            def metaData = create()
    
            then:
            1 * configuration.runDependencyActions()
    
            when:
            def excludes = metaData.excludes
    
            then:
            1 * configuration.excludeRules >> ([excludeRule] as Set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ClientModuleDelegate.kt

            delegate.addDependency(dependency)
    
        override fun getName(): String =
            delegate.name
    
        override fun getExcludeRules(): MutableSet<ExcludeRule> =
            delegate.excludeRules
    
        override fun addArtifact(artifact: DependencyArtifact): ModuleDependency =
            delegate.addArtifact(artifact)
    
        override fun artifact(configureClosure: Closure<Any>): DependencyArtifact =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ExcludeRule.java

     * limitations under the License.
     */
    package org.gradle.api.artifacts;
    
    /**
     * An {@code ExcludeRule} is used to describe transitive dependencies that should be excluded when resolving
     * dependencies.
     */
    public interface ExcludeRule {
        String GROUP_KEY = "group";
        String MODULE_KEY = "module";
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 1.1K bytes
    - Viewed (0)
Back to top