Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for vcsMappings (0.14 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppExternalSourceDependenciesIntegrationTest.groovy

                """
                fixture.greeter.writeToProject(it)
            }
            def commit = repo.commit('initial commit')
    
            and:
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        withModule("org.test:greeter") {
                            from(GitVersionControlSpec) {
                                url = "${repo.url}"
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/services/VersionControlServices.java

            }
    
            @Provides
            SourceControl createSourceControl(ObjectFactory objectFactory, FileResolver fileResolver, VcsMappings vcsMappings, VersionControlSpecFactory specFactory) {
                return objectFactory.newInstance(DefaultSourceControl.class, fileResolver, vcsMappings, specFactory);
            }
        }
    
        private static class VersionControlBuildServices implements ServiceRegistrationProvider {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftExternalSourceDependenciesIntegrationTest.groovy

                """
                fixture.library.writeToProject(it)
            }
            def commit = repo.commit('initial commit')
    
            and:
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        withModule("org.test:greeter") {
                            from(GitVersionControlSpec) {
                                url = "${repo.url}"
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerDependencyMappingIntegrationTest.groovy

                dependencies {
                    implementation('dep:dep:1.0') { versionConstraint.branch = 'release' }
                }
    """
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        withModule("dep:dep") {
                            from(GitVersionControlSpec) {
                                url = uri('repo')
                            }
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/NestedSourceDependencyIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can resolve a mapping conflict by defining a rule in the root build"() {
            given:
            vcsMapping('org.test:first', first)
            vcsMapping('org.test:second', second)
            vcsMapping('org.test:third', third)
            nestedVcsMapping(first, 'org.test:third', third)
            nestedVcsMapping(second, 'org.test:third', fourth)
    
            fourth.with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/BuildSrcSourceDependenciesIntegrationTest.groovy

            expect:
            succeeds("resolve")
    
            and:
            outputContains("[first-1.0.jar]")
        }
    
        void vcsMapping(String module, GitFileRepository repo) {
            String location = repo.getWorkTree().name
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        withModule('${module}') {
                            from(GitVersionControlSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/SourceDependencyIncludedBuildIntegrationTest.groovy

        def "source dependency cannot (yet) define any included builds"() {
            settingsFile << """
                rootProject.name = 'buildA'
                sourceControl {
                    vcsMappings {
                        withModule("org.test:buildB") {
                            from(GitVersionControlSpec) {
                                url = uri("${repo.url}")
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/SourceDependencyBuildLookupIntegrationTest.groovy

        @Rule
        GitFileRepository repo = new GitFileRepository('buildB', testDirectory)
    
        def setup() {
            settingsFile << """
                rootProject.name = "root"
                sourceControl {
                    vcsMappings {
                        withModule("org.test:buildB") { details ->
                            from(GitVersionControlSpec) {
                                url = uri('$repo.url')
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/NestedSourceDependencyIdentityIntegrationTest.groovy

        def setup() {
            settingsFile << """
                rootProject.name = 'buildA'
                sourceControl {
                    vcsMappings {
                        withModule("org.test:buildB") {
                            from(GitVersionControlSpec) {
                                url = uri("${repoB.url}")
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/OfflineSourceDependencyIntegrationTest.groovy

                    tasks.register('resolve') {
                        inputs.files configurations.compile
                        doLast { configurations.compile.each { } }
                    }
                }
                sourceControl.vcsMappings.withModule('test:test') {
                    from(GitVersionControlSpec) {
                        url = uri('${repo.url}')
                    }
                }
            """
    
            repo.file('settings.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top