Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,691 for within (1.59 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyAnnotationHandler.java

        /**
         * Does this handler do something useful with the properties that match it? Or can these properties be ignored?
         *
         * Should consider splitting up this type, perhaps into something that inspects the properties and produces the actual handlers and validation problems.
         */
        boolean isPropertyRelevant();
    
        /**
         * Visit the value of a property with this annotation attached.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/InvalidModelRuleException.java

    /**
     * Thrown when there is a problem with the usage of a model rule.
     * <p>
     * This exception is different to {@link InvalidModelRuleDeclarationException} in that it signifies a problem
     * with using a model rule in a particular context, whereas {@code InvalidModelRuleDeclarationException} signifies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramParserAnnotationErasureTest.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.execution
    
    import org.junit.Test
    
    
    class ProgramParserAnnotationErasureTest {
    
        @Test
        fun `empty Stage 1 with non-empty Stage 2 parse to Stage 2 with Stage 1 fragments erased`() {
            val scriptOnlySource =
                programSourceWith("""
                    @Suppress("unused_variable")
                    println("Stage 2")""".trimIndent())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

    /*
     * Copyright 2014 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValidatingMapEntryCollector.java

            Preconditions.checkNotNull(
                key,
                "Cannot get the value of a property of type %s with key type %s as the source contains a null key.",
                Map.class.getName(), keyType.getName());
            Preconditions.checkNotNull(
                value,
                "Cannot get the value of a property of type %s with value type %s as the source contains a null value for key \"%s\".",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt

                equalTo(42)
            )
        }
    
        @Test
        fun `can serialize Kotlin action with Property`() {
            val loaded = valueCarriedBy(roundtripOf(isolatedActionCarrying(propertyOf("42"))))
            assertThat(
                loaded.get(),
                equalTo("42")
            )
        }
    
        @Test
        fun `can serialize Java lambda with Property`() {
            assertProviderRoundtrip(
                propertyOf("42"),
                "42"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

        /**
         * Invokes with Groovy semantics and [arguments].
         */
        operator fun String.invoke(vararg arguments: Any?): Any?
    
        /**
         * Invokes with Groovy semantics and no arguments.
         */
        operator fun String.invoke(): Any? =
            invoke(*emptyArray<Any>())
    
        /**
         * Invokes with Groovy semantics, [arguments] and provides a nested [GroovyBuilderScope].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            def result = runner.buildAndFail()
            def output = result.output
    
            then:
            output.contains("- Gradle runtime: support for using a Java agent with TestKit builds is not yet implemented with the configuration cache.")
    
            when:
            runner = GradleRunner.create()
            runner.withJvmArguments("-javaagent:${agentJar}")
            if (!GradleContextualExecuter.embedded) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/WorkInputListeners.java

    /**
     * Allows the registration of {@link WorkInputListener work input listeners}.
     */
    @ServiceScope(Global.class)
    public interface WorkInputListeners {
        /**
         * Registers the listener with the build, the listener can be unregistered with {@link #removeListener(WorkInputListener)}.
         */
        void addListener(WorkInputListener listener);
    
        void removeListener(WorkInputListener listener);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheInjectedClasspathInstrumentationStrategy.kt

            problems.onProblem(
                PropertyProblem(
                    PropertyTrace.Gradle,
                    StructuredMessage.build { text("support for using a Java agent with TestKit builds is not yet implemented with the configuration cache.") },
                    documentationSection = DocumentationSection.NotYetImplementedTestKitJavaAgent
                )
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top