Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for incompatibleWith (0.25 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DirectorySensitivityErrorHandlingIntegrationSpec.groovy

            then:
            failureDescriptionContains(
                incompatibleAnnotations {
                    type('TaskWithInputs').property('input')
                    annotatedWith('IgnoreEmptyDirectories')
                    incompatibleWith(nonDirectoryInput.annotation - '@')
                    includeLink()
                }
            )
    
            where:
            nonDirectoryInput << NonDirectoryInput.values()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

            String annotatedWith
            String incompatibleWith
    
            IncompatibleAnnotations(ValidationMessageChecker checker) {
                super(checker)
            }
    
            IncompatibleAnnotations annotatedWith(String name) {
                annotatedWith = name
                this
            }
    
            IncompatibleAnnotations incompatibleWith(String name) {
                incompatibleWith = name
                this
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

        def "tests output of incompatibleAnnotations"() {
            when:
            render incompatibleAnnotations {
                type('SuperHero').property('fireballs')
                annotatedWith("Boring")
                incompatibleWith("SuperPower")
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'SuperHero' property 'fireballs' is annotated with @Boring but that is not allowed for 'SuperPower' properties.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

                    missingValueMessage { property('incrementalNonFileInput').includeLink().noIntro() },
                    incompatibleAnnotations { property('incrementalNonFileInput').annotatedWith('Incremental').incompatibleWith('Input').includeLink().noIntro() },
                ],
                missingInput: missingValueMessage { property('missingInput').includeLink().noIntro() },
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ScriptApiTest.kt

        find { it.isCompatibleWith(api) } != null
    
    
    private
    fun KCallable<*>.isCompatibleWith(api: KCallable<*>) =
        when (this) {
            is KFunction -> isCompatibleWith(api)
            is KProperty -> isCompatibleWith(api)
            else -> false
        }
    
    
    private
    fun KProperty<*>.isCompatibleWith(api: KCallable<*>) =
        this::class == api::class
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/JavaVersion.java

        public boolean isJava5Compatible() {
            return isCompatibleWith(VERSION_1_5);
        }
    
        public boolean isJava6Compatible() {
            return isCompatibleWith(VERSION_1_6);
        }
    
        public boolean isJava7Compatible() {
            return isCompatibleWith(VERSION_1_7);
        }
    
        public boolean isJava8Compatible() {
            return isCompatibleWith(VERSION_1_8);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy

                .withClassLoaderStructure(new HierarchicalClassLoaderStructure(spec1).withChild(spec2))
                .keepAliveMode(KeepAliveMode.SESSION)
                .build()
    
            expect:
            settings.isCompatibleWith(settings)
        }
    
        def "is compatible with same settings"() {
            def spec1 = Mock(ClassLoaderSpec)
            def spec2 = Mock(ClassLoaderSpec)
            def settings1 = daemonForkOptionsBuilder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

            then:
            options.isCompatibleWith(other)
        }
    
        def "is compatible with a subset of jvm args"() {
            def other = new DefaultJavaForkOptions(resolver, fileCollectionFactory, new DefaultJavaDebugOptions())
    
            when:
            options.jvmArgs = ["-server", "-esa"]
            other.jvmArgs = ["-server"]
    
            then:
            options.isCompatibleWith(other)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/fixtures/ScalaCoverage.groovy

                return VersionCoverage.versionsAtLeast(SCALA_3, "3.3.4")
            }
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_20)) {
                return VersionCoverage.versionsAtLeast(SCALA_3, "3.3.0")
            }
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_19)) {
                return VersionCoverage.versionsAtLeast(SCALA_3, "3.2.2")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top