Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for repoType (0.1 sec)

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

            repoTypes.each { repoType ->
                repository(repoType) {
                    "org:$repoType-api-dependency:1.0"()
                    "org:$repoType-runtime-dependency:1.0"()
                    "org:$repoType:1.0" {
                        variant("api") {
                            dependsOn "org:$repoType-api-dependency:1.0"
                        }
                        variant("runtime") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromMultipleCustomPluginRepositorySpec.groovy

                    ${repoType}(${repoA.uri})
                    ${repoType}2(${repoB.uri})
            """.stripIndent().trim())
    
            where:
            repoType << [IVY, MAVEN]
        }
    
        def "Does not fall through to plugin portal if custom #repoType repos are defined"(String repoType) {
            given:
            publishPlugins(repoType)
            buildScript """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppCustomHeaderDependencyIntegrationTest.groovy

                }
            """
        }
    
        def group(String repoType) {
            if (repoType == "ivy") {
                return "organisation"
            } else if (repoType == "maven") {
                return "groupId"
            } else {
                throw new IllegalArgumentException()
            }
        }
    
        def version(String repoType) {
            if (repoType == "ivy") {
                return "revision"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromSingleCustomPluginRepositorySpec.groovy

            fails("pluginTask")
    
            then:
            failure.assertHasNoCause(repoType)
    
            where:
            repoType << [IVY, MAVEN]
        }
    
        @Requires(UnitTestPreconditions.Online)
        def "Fails gracefully if a plugin is not found in #repoType repo"() {
            given:
            publishTestPlugin(repoType)
            buildScript """
              plugins {
                  id "org.example.foo" version "1.1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractHttpsRepoResolveIntegrationTest.groovy

            }
        }
    
        private void setupBuildFile(String repoType, boolean withCredentials = false) {
            def credentials = """
    credentials {
        username 'user'
        password 'secret'
    }
    """
    
            buildFile << """
    repositories {
        $repoType {
            url '${server.uri}/repo1'
            ${withCredentials ? credentials : ''}
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/AuthenticatedPluginRepositorySpec.groovy

            } else if (repoType == MAVEN) {
                return pluginBuilder.publishAs("org.example.plugin:plugin:1.0", mavenHttpRepo, executer)
            }
            return null
        }
    
        private def useCustomRepository(String repoType, String configuredAuthentication) {
            def repoUrl = 'Nothing'
            if (repoType == MAVEN) {
                repoUrl = mavenHttpRepo.uri
            } else if (repoType == IVY) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParserTest.groovy

            "http://192.0.0.10"    | "./directory1"               | "ipv4 host with relative URLS"
        }
    
        def "parse is compatible with #repoType"() {
            setup:
            def byte[] content = resources.getResource("${repoType}_dirlisting.html").bytes
            expect:
            List<String> urls = new ApacheDirectoryListingParser().parse(new URI(artifactRootURI), new ByteArrayInputStream(content), CONTENT_TYPE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top