Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toRemoteRepository (0.1 sec)

  1. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
            failEarlyIfUrlOrCredentialsAreNotSet(this)
        }
    }
    
    @Suppress("ThrowsCount")
    fun Project.failEarlyIfUrlOrCredentialsAreNotSet(publish: Task) {
        gradle.taskGraph.whenReady {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 08:20:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

            return new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion());
        }
    
        public static RemoteRepository toRemoteRepository(Repository repository) {
            RemoteRepository.Builder builder =
                    new RemoteRepository.Builder(repository.getId(), repository.getLayout(), repository.getUrl());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            ArtifactTypeRegistry stereotypes = session.getArtifactTypeRegistry();
    
            for (Repository r : model.getRepositories()) {
                result.addRepository(ArtifactDescriptorUtils.toRemoteRepository(r));
            }
    
            for (org.apache.maven.model.Dependency dependency : model.getDependencies()) {
                result.addDependency(convert(dependency, stereotypes));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top