Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for withDependencies (0.29 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesIntegrationTest.groovy

                }
            }
            buildFile << """
    
    class AssertingRule implements ComponentMetadataRule {
    
        void execute(ComponentMetadataContext context) {
            context.details.allVariants {
                withDependencies {
                    it.each { dep ->
                        println "selectorSize:" + dep.artifactSelectors.size
                        println "classifier:" + dep.artifactSelectors[0]?.classifier
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingSnapshotFromPluginRepositorySpec.groovy

            publishTestPlugin("1.2", "from 1.2")
            useCustomRepository()
    
            buildFile << """
                buildscript {
                    configurations.classpath {
                        withDependencies { dependencies ->
                           dependencies.configureEach { dep ->
                                dep.attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:20:28 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy

                        this.attribute = attribute
                    }
    
                    void execute(ComponentMetadataContext context) {
                        context.details.allVariants {
                            withDependencies {
                                it.each {
                                   it.attributes {
                                      it.attribute(attribute, '$attributeValue')
                                   }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        private val groovyVersion: String
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
                    val groovyGroup = if (isAtLeastGroovy4) "org.apache.groovy" else "org.codehaus.groovy"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. build-logic/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

    }
    
    // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules
    // TODO consider splitting `java-gradle-plugin` to provide only what's necessary here
    configurations.all {
        withDependencies {
            remove(project.dependencies.gradleApi())
            remove(project.dependencies.gradleTestKit())
        }
    }
    
    publishing.publications.withType<MavenPublication>().configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            configurations["testCompileClasspath"].extendsFrom(platformImplementation)
            configurations["testRuntimeClasspath"].extendsFrom(platformImplementation)
            platformImplementation.withDependencies {
                // use 'withDependencies' to not attempt to find platform project during script compilation
                add(project.dependencies.create(platform(project(":distributions-dependencies"))))
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java

                                            + "to the dependencyManagement section of the POM.");
                        }
                    }
                }
    
                return target.withDependencyManagement(depMgmt.withDependencies(dependencies.values()));
            }
            return target;
        }
    
        private String toString(Dependency dependency) {
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 06:13:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ComponentMetadataDetailsAdapter.java

            }
        }
    
        private void addPlatformDependencyToAllVariants(ModuleComponentIdentifier platformId) {
            allVariants(v -> v.withDependencies(dependencies -> {
                dependencies.add(Maps.of("group", platformId.getGroup(), "name", platformId.getModule(), "version", platformId.getVersion()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. build-logic/packaging/src/main/kotlin/gradlebuild.shaded-jar.gradle.kts

        attributes.attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
        isCanBeResolved = true
        isCanBeConsumed = false
        withDependencies {
            this.add(project.dependencies.create(project))
            this.add(project.dependencies.create(project.dependencies.platform(project(":distributions-dependencies"))))
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

                                            + "to the dependencyManagement section of the POM."));
                        }
                    }
                }
    
                return target.withDependencyManagement(depMgmt.withDependencies(dependencies.values()));
            }
            return target;
        }
    
        private String toString(Dependency dependency) {
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 06:13:27 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top