Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for buildDependencies (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            outputContains("project name = b")
        }
    
        def "reports problem on #expr buildDependencies.getDependencies(...)"() {
            given:
            buildFile << """
                $setup
                def buildable = $expr
                configurations.create("test")
                println(buildable.buildDependencies.getDependencies(null))
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

                            def sourceJar = this.project(":child1").tasks.getByName("sourceJar")
                            def javadocJar = this.project(":child1").tasks.getByName("javadocJar")
                            dep.buildDependencies(sourceJar, javadocJar)
                            dep.publicationSourcePath = cp.fileReference(sourceJar.archiveFile.get().asFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy

            when:
            def task = Mock(Task)
            mavenArtifact.buildDependencies >> publishArtifactDependencies
            publishArtifactDependencies.getDependencies(task) >> [task]
    
            then:
            publication.publishableArtifacts.files.buildDependencies.getDependencies(task).contains(task)
        }
    
        def "multiple usages of a component can provide the same artifact"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            expect:
            configuration.buildDependencies.getDependencies(targetTask) == requiredTasks
            configuration.incoming.dependencies.buildDependencies.getDependencies(targetTask) == requiredTasks
            configuration.incoming.files.buildDependencies.getDependencies(targetTask) == requiredTasks
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderDependenciesTest.groovy

            }
            child3.eclipse {
                (classpath as EclipseClasspath).file.whenMerged {
                    def customDependency = new ProjectDependency("/child1")
                    customDependency.buildDependencies(":child1:jar")
                    customDependency.publication = fileReference("customJar.jar")
                    customDependency.publicationJavadocPath = fileReference("customJar-javadoc.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

            private final List<DefaultEclipseClasspathContainer> classpathContainers = new ArrayList<>();
            private final List<TaskDependency> buildDependencies = new ArrayList<>();
            private DefaultEclipseOutputLocation eclipseOutputLocation;
    
            public List<DefaultEclipseExternalDependency> getExternalDependencies() {
                return externalDependencies;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/LocalFileDependencyBackedArtifactSetTest.groovy

            def files = Stub(FileCollectionInternal)
            def visitor = Mock(TaskDependencyResolveContext)
    
            given:
            dep.files >> files
            files.buildDependencies >> fileBuildDependencies
    
            when:
            set.visitDependencies(visitor)
    
            then:
            1 * visitor.add(fileBuildDependencies)
            0 * visitor._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy

                            String type = "jar"
                            String classifier
                            File file
                            Date date
                            TaskDependency buildDependencies = new org.gradle.api.internal.tasks.DefaultTaskDependency()
                        }
                        artifact.file = file("lib1.jar")
                        task jar
                        compile(artifact) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/plugins/NativeBasePluginTest.groovy

            installTask.name >> taskName
            def deps = Stub(TaskDependency)
            deps.getDependencies(_) >> [installTask]
            def outputs = Stub(FileCollection)
            outputs.buildDependencies >> deps
            return outputs
        }
    
        interface TestBinary extends ComponentWithOutputs, ComponentWithNames {
        }
    
        interface TestComponent extends ProductionComponent, ComponentWithBinaries {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc

    If you want to upload the `bootJar`, then you need to configure the outgoing configurations to do this:
    
    ```
    configurations {
       [apiElements, runtimeElements].each {
           it.outgoing.artifacts.removeIf { it.buildDependencies.getDependencies(null).contains(jar) }
           it.outgoing.artifact(bootJar)
       }
    }
    ```
    
    Alternatively, you might want to re-enable the `jar` task, and add the `bootJar` with a different classifier.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top