Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for excludeGroupByRegex (0.53 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/BuildscriptRepositoryContentFilteringIntegrationTest.groovy

            outputContains("org:foo:1.0")
    
            where:
            inSettings  | notation
            true        | "excludeGroup('org')"
            true        | "excludeGroupByRegex('or.+')"
            false       | "excludeGroup('org')"
            false       | "excludeGroupByRegex('or.+')"
        }
    
        def 'exclusive content filtering in settings prevents adding repositories in project'() {
            given:
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/declaringRepositories-filtering/kotlin/build.gradle.kts

                includeGroup("my.company")
            }
        }
        mavenCentral {
            content {
                // this repository contains everything BUT artifacts with group starting with "my.company"
                excludeGroupByRegex("my\\.company.*")
            }
        }
    }
    // end::repository-filter[]
    
    // tag::exclusive-repository-filter[]
    repositories {
        // This repository will _not_ be searched for artifacts in my.company
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/declaringRepositories-filtering/groovy/build.gradle

                includeGroup "my.company"
            }
        }
        mavenCentral {
            content {
                // this repository contains everything BUT artifacts with group starting with "my.company"
                excludeGroupByRegex "my\\.company.*"
            }
        }
    }
    // end::repository-filter[]
    
    // tag::exclusive-repository-filter[]
    repositories {
        // This repository will _not_ be searched for artifacts in my.company
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/repositories/RepositoryContentDescriptor.java

        /**
         * Declares that an entire group shouldn't be searched for in this repository.
         *
         * @param groupRegex the group name regular expression
         */
        void excludeGroupByRegex(String groupRegex);
    
        /**
         * Declares that an entire module shouldn't be searched for in this repository.
         *
         * @param group the group name
         * @param moduleName the module name
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 10 23:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top