Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withBranch (0.14 sec)

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

                    withModule {
                        withExtraInfo((IvySpecificComponentMetadataRulesIntegrationTest.ns('foo')): "fooValue", (IvySpecificComponentMetadataRulesIntegrationTest.ns('bar')): "barValue")
                        withBranch('someBranch')
                        withStatus('release')
                    }
                }
            }
    
            buildFile <<
                """
    class IvyRule implements ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesDependencyResolveIntegTest.groovy

        }
    
        def "can use component selection rule to choose component from different repository for #selector"() {
            def ivyRepo2 = ivyRepo("repo2")
            def module2 = ivyRepo2.module("org.utils", "api", "1.1").withBranch("other").publishWithChangedContent()
    
            buildFile << """
                repositories {
                    ivy { url "${ivyRepo2.uri}" }
                }
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesProcessingIntegTest.groovy

            then:
            succeeds 'checkDeps'
    
            when:
            resetExpectations()
            repository {
                'org.utils:api:1.1' {
                    withModule {
                        withBranch('master')
                        withStatus('release')
                        publishWithChangedContent()
                    }
                }
            }
    
            then:
            repositoryInteractions {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

            configurations[config].transitive = false
            return this
        }
    
        IvyFileModule withStatus(String status) {
            this.status = status
            return this
        }
    
        IvyFileModule withBranch(String branch) {
            this.branch = branch
            return this
        }
    
        IvyFileModule withNoMetaData() {
            metadataPublish = MetadataPublish.NONE
            return this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top