Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for getCoordinate (0.35 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinate.java

            this.session = nonNull(session, "session");
            this.coordinate = nonNull(coordinate, "coordinate");
        }
    
        public org.eclipse.aether.artifact.Artifact getCoordinate() {
            return coordinate;
        }
    
        @Nonnull
        @Override
        public String getGroupId() {
            return coordinate.getGroupId();
        }
    
        @Nonnull
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/developingPlugins/customTask/kotlin/buildSrc/src/main/java/org/myorg/LatestArtifactVersion.java

    abstract public class LatestArtifactVersion extends DefaultTask {
    
        @Input
        abstract public Property<String> getCoordinates();
    
        @Input
        abstract public Property<String> getServerUrl();
    
        @TaskAction
        public void resolveLatestVersion() {
            System.out.println("Retrieving artifact " + getCoordinates().get() + " from " + getServerUrl().get());
            // Issue HTTP call and parse response
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 22:31:35 UTC 2024
    - 629 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/developingPlugins/customTask/groovy/buildSrc/src/main/java/org/myorg/BinaryRepositoryVersionPlugin.java

                project.getExtensions().create("binaryRepo", BinaryRepositoryExtension.class);
    
            project.getTasks().register("latestArtifactVersion", LatestArtifactVersion.class, task -> {
                task.getCoordinates().set(extension.getCoordinates());
                task.getServerUrl().set(extension.getServerUrl());
            });
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 619 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/developingPlugins/customTask/kotlin/buildSrc/src/main/java/org/myorg/BinaryRepositoryVersionPlugin.java

                project.getExtensions().create("binaryRepo", BinaryRepositoryExtension.class);
    
            project.getTasks().register("latestArtifactVersion", LatestArtifactVersion.class, task -> {
                task.getCoordinates().set(extension.getCoordinates());
                task.getServerUrl().set(extension.getServerUrl());
            });
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 619 bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/DefaultCppExecutable.java

        public AttributeContainer getRuntimeAttributes() {
            return getIdentity().getRuntimeVariant().getAttributes();
        }
    
        @Override
        public ModuleVersionIdentifier getCoordinates() {
            return getIdentity().getCoordinates();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/developingPlugins/customTask/groovy/buildSrc/src/main/java/org/myorg/LatestArtifactVersion.java

    abstract public class LatestArtifactVersion extends DefaultTask {
    
        @Input
        abstract public Property<String> getCoordinates();
    
        @Input
        abstract public Property<String> getServerUrl();
    
        @TaskAction
        public void resolveLatestVersion() {
            System.out.println("Retrieving artifact " + getCoordinates().get() + " from " + getServerUrl().get());
            // Issue HTTP call and parse response
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 22:31:35 UTC 2024
    - 629 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/developingPlugins/customTask/groovy/buildSrc/src/main/java/org/myorg/BinaryRepositoryExtension.java

    package org.myorg;
    
    import org.gradle.api.provider.Property;
    
    // tag::snippet[]
    abstract public class BinaryRepositoryExtension {
    
        abstract public Property<String> getCoordinates();
    
        abstract public Property<String> getServerUrl();
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 260 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/developingPlugins/customTask/kotlin/buildSrc/src/main/java/org/myorg/BinaryRepositoryExtension.java

    package org.myorg;
    
    import org.gradle.api.provider.Property;
    
    // tag::snippet[]
    abstract public class BinaryRepositoryExtension {
        abstract public Property<String> getCoordinates();
        abstract public Property<String> getServerUrl();
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 22:31:35 UTC 2024
    - 258 bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactResolverRequest {
        @Nonnull
        Session getSession();
    
        @Nonnull
        Collection<? extends ArtifactCoordinate> getCoordinates();
    
        @Nonnull
        static ArtifactResolverRequestBuilder builder() {
            return new ArtifactResolverRequestBuilder();
        }
    
        @Nonnull
        static ArtifactResolverRequest build(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/DefaultCppStaticLibrary.java

        public AttributeContainer getRuntimeAttributes() {
            return getIdentity().getRuntimeVariant().getAttributes();
        }
    
        @Override
        public ModuleVersionIdentifier getCoordinates() {
            return getIdentity().getCoordinates();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top