Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for artifactUrls (0.28 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/descriptor/MavenRepositoryDescriptor.java

            builder.put(Property.ARTIFACT_URLS.name(), artifactUrls);
        }
    
        public static class Builder extends UrlRepositoryDescriptor.Builder<Builder> {
    
            private ImmutableList<URI> artifactUrls;
    
            public Builder(String name, URI url) {
                super(name, url);
            }
    
            public Builder setArtifactUrls(Collection<URI> artifactUrls) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.artifacts.repositories.MavenArtifactRepository.xml

                </tr>
                <tr>
                    <td>artifactUrls</td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>artifactUrls</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenFileRepoResolveIntegrationTest.groovy

            buildDir.file('projectA-1.2.jar').assertIsCopyOf(moduleA.artifactFile)
            buildDir.file('projectB-9.1.jar').assertIsCopyOf(moduleB.artifactFile)
        }
    
        void "uses artifactUrls to resolve artifacts"() {
            given:
            def moduleA = mavenRepo().module('group', 'projectA', '1.2')
            def moduleB = mavenRepo().module('group', 'projectB', '9.1')
            moduleA.publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/RepositoryHandler.java

         * Examples:
         * <pre class='autoTestedWithDeprecations'>
         * repositories {
         *   jcenter {
         *     artifactUrls = ["http://www.mycompany.com/artifacts1", "http://www.mycompany.com/artifacts2"]
         *   }
         *   jcenter {
         *     name = "nonDefaultName"
         *     artifactUrls = ["http://www.mycompany.com/artifacts1"]
         *   }
         * }
         * </pre>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 03:42:11 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultMavenArtifactRepositoryTest.groovy

            def same = newRepo()
            def different = newRepo()
    
            given:
            repo.url = new URI("http://localhost")
            repo.artifactUrls(new URI("http://localhost/dir"))
            same.url = new URI("http://localhost")
            same.artifactUrls(new URI("http://localhost/dir"))
            different.url = new URI("http://localhost")
    
            and:
            _ * resolver.resolveUri(_) >> { URI uri -> uri }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/artifacts/defineRepository/groovy/build.gradle

            // Look for POMs and artifacts, such as JARs, here
            url "http://repo2.mycompany.com/maven2"
            // Look for artifacts here if not found at the above location
            artifactUrls "http://repo.mycompany.com/jars"
            artifactUrls "http://repo.mycompany.com/jars2"
        }
    }
    // end::maven-like-repo-with-jar-repo[]
    
    // tag::authenticated-maven-repo[]
    repositories {
        maven {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/artifacts/defineRepository/kotlin/build.gradle.kts

            // Look for POMs and artifacts, such as JARs, here
            url = uri("http://repo2.mycompany.com/maven2")
            // Look for artifacts here if not found at the above location
            artifactUrls("http://repo.mycompany.com/jars")
            artifactUrls("http://repo.mycompany.com/jars2")
        }
    }
    // end::maven-like-repo-with-jar-repo[]
    
    // tag::authenticated-maven-repo[]
    repositories {
        maven {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy

                properties: [
                    ARTIFACT_URLS: [],
                    METADATA_SOURCES: ['mavenPom'],
                    AUTHENTICATED: false,
                    AUTHENTICATION_SCHEMES: [],
                    URL: null,
                ]
            ]
        }
    
        private static String mavenRepoNoUrlBlock() {
            "repositories { maven { artifactUrls 'http://artifactUrl' } }"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/MavenResolverTest.groovy

            builder.metadataSources = []
            builder.authenticated = false
            builder.authenticationSchemes = []
            builder.artifactUrls = []
            def descriptor = builder.create()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/repositories/MavenArtifactRepository.java

         * relative to the project directory.
         *
         * @param urls The URLs to add.
         */
        void artifactUrls(Object... urls);
    
        /**
         * Sets the additional URLs to use to find artifact files. Note that these URLs are not used to find POM files.
         *
         * @param urls The URLs.
         * @since 4.0
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 6.2K bytes
    - Viewed (0)
Back to top