Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ComponentMetadataRule (0.15 sec)

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

        private val moduleToKeep: Set<String>
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    removeAll { !moduleToKeep.contains(it.name) }
                }
            }
        }
    }
    
    
    inline
    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. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        }
    }
    
    val SourceSet.allGroovy: SourceDirectorySet
        get() = the<GroovySourceDirectorySet>()
    
    abstract class CodeNarcRule @Inject constructor(
        private val groovyVersion: String
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslRegressionsTest.kt

                dependencies {
                   components.all(FixOksocialOutput::class.java)
                   implementation("com.baulsupp:oksocial-output:4.19.0")
                }
                open class FixOksocialOutput: ComponentMetadataRule {
                   override fun execute(context: ComponentMetadataContext) = context.details.run {
                      if (id.group == "com.baulsupp" && id.name == "oksocial-output") {
                          allVariants {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:57:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top