Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for withDependencies (0.09 seconds)

  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 DependencyAdditionRule @Inject constructor(
        private val coordinates: String
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 18 11:32:19 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. 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 {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 6.1K bytes
    - Click Count (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"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top