Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for withDependencies (0.21 sec)

  1. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        private val moduleToRemove: Set<String>
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    removeAll { moduleToRemove.contains(it.name) }
                }
            }
        }
    }
    
    
    abstract class DependencyRemovalByGroupRule @Inject constructor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K 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. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslRegressionsTest.kt

                      if (id.group == "com.baulsupp" && id.name == "oksocial-output") {
                          allVariants {
                             withDependencies {
                                removeAll { name == "jackson-bom" }
                             }
                          }
                      }
                   }
                }
            """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:57:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/ComponentMetadataDetailsAdapterTest.groovy

            then: "the adapter rule is called once"
            noExceptionThrown()
            1 * adapterRule.execute(_) >> {
                def adapter = it[0]
                adapter.withDependencies(dependenciesRule)
                adapter.withDependencyConstraints(constraintsRule)
                adapter.attributes(attributesRule)
            }
            0 * _
    
            when:
            resolve(gradleMetadata)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 20:17:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top