Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for myartifact2 (0.13 sec)

  1. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        void canHandleCircularModuleDependencies() {
            def artifact1 = mavenRepo.module("myGroup", "myArtifact1", "1.0").dependsOn("myGroup", "myArtifact2", "1.0").publish().artifactFile
            def artifact2 = mavenRepo.module("myGroup", "myArtifact2", "1.0").dependsOn("myGroup", "myArtifact1", "1.0").publish().artifactFile
    
            runEclipseTask """
    apply plugin: "java"
    apply plugin: "eclipse"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        void canHandleCircularModuleDependencies() {
            def repoDir = file("repo")
            def artifact1 = maven(repoDir).module("myGroup", "myArtifact1").dependsOnModules("myArtifact2").publish().artifactFile
            def artifact2 = maven(repoDir).module("myGroup", "myArtifact2").dependsOnModules("myArtifact1").publish().artifactFile
    
            runIdeaTask """
    apply plugin: "java"
    apply plugin: "idea"
    
    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy

            resolvedDependency.addParentSpecificArtifacts(parent2, TestArtifactSet.create(ImmutableAttributes.EMPTY, Arrays.asList(artifact1, artifact2)))
    
            then:
            resolvedDependency.allModuleArtifacts == [artifact1, artifact2] as Set
        }
    
        def getParentArtifacts() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DefaultResolvedDependency.java

            @Override
            public int compare(ResolvedArtifact artifact1, ResolvedArtifact artifact2) {
                int diff = artifact1.getName().compareTo(artifact2.getName());
                if (diff != 0) {
                    return diff;
                }
                diff = ObjectUtils.compare(artifact1.getClassifier(), artifact2.getClassifier());
                if (diff != 0) {
                    return diff;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

            Artifact artifact = factory.createDependencyArtifact(
                    "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided");
            Artifact artifact2 = factory.createDependencyArtifact(
                    "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test");
            Artifact artifact3 = factory.createDependencyArtifact(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            def artifact2 = Stub(PublishArtifact)
    
            given:
            publications.artifacts.add(artifact1)
            publications.attributes.attribute(Attribute.of("thing", String), "value1")
            def variantDef = publications.variants.create("child")
            variantDef.attributes.attribute(Attribute.of("thing", String), "value2")
            variantDef.artifacts.add(artifact2)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy

            def artifact1 = artifactName()
            def artifact2 = artifactName()
            def file1 = new File("artifact-1.zip")
            def file2 = new File("artifact-2.zip")
    
            given:
            def conf1 = consumable("conf1")
            def conf2 = consumable("conf2")
            addArtifact(conf1, artifact1, file1)
            addArtifact(conf2, artifact2, file2)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
            Dependency dep2 = new Dependency();
            dep2.setGroupId( "test" );
            dep2.setArtifactId( "test-artifact2" );
            dep2.setVersion( "1" );
            dep2.setType( "jar" );
    
            List<Dependency> deps = new ArrayList<>();
            deps.add( dep1 );
            deps.add( dep2 );
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServicesTest.groovy

            def artifact1 = Stub(TaskProvider)
            def artifact2 = Stub(File)
    
            when:
            services.replaceArtifacts(config, artifact1, artifact2)
    
            then:
            1 * outgoing.getArtifacts() >> artifacts
            1 * artifacts.clear()
            1 * artifacts2.clear()
            1 * outgoing.artifact(artifact1)
            1 * outgoing.artifact(artifact2)
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/IvyDependencyDescriptorTest.groovy

            def artifact2 = new Artifact(new DefaultIvyArtifactName("art2", "type", "ext"), ["other"] as Set)
            def artifact3 = new Artifact(new DefaultIvyArtifactName("art3", "type", "ext"), ["super"] as Set)
    
            given:
            def metadata = createWithArtifacts(requested, [artifact1, artifact2, artifact3])
    
            expect:
            metadata.dependencyArtifacts.size() == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top