Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withDependencies (0.09 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. build-logic-commons/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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                                .preserveModelVersion(false)
                                .root(false)
                                .parent(null)
                                .dependencyManagement(dependencyManagement.withDependencies(dependencies))
                                .build(null),
                        model);
                builder.packaging(POM_PACKAGING);
                builder.profiles(prune(model.getProfiles()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        .map(candidate -> addExclusions(candidate, exclusions))
                        .collect(Collectors.toList());
                importMgmt = importMgmt.withDependencies(dependencies);
            }
    
            return importMgmt != null ? new DependencyManagement(importMgmt) : null;
        }
    
        private static org.apache.maven.api.model.Dependency addExclusions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top