Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 111 for PROPERTY (0.1 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    val property = propertyAccessor?.parent as? KtProperty
                    if (property != null && property.setter == propertyAccessor) {
                        val bindingContext = analysisContext.analyze(property)
                        val kotlinType = bindingContext[BindingContext.VARIABLE, property]?.returnType
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

                it.setup(test, propertyKey)
            }
    
            test.buildFile << """
                task $task(type: DefaultTask) {
                    def property = providers.systemProperty('$propertyKey')
                    doFirst {
                        println('Execution: ' + property.orNull)
                    }
                }
                """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy

                gradle.buildFinished { }
                classes {
                    inputs.property('p', project)
                    doLast { t -> t.project }
                }
            """
            buildFile << """
                tasks.register("broken") {
                    gradle.addListener(new BuildAdapter())
                    inputs.property('p', project).optional(true)
                    doLast { }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache-base/src/test/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTrackerTest.kt

            tracker.systemPropertyRemoved("some.property")
            tracker.getCachedState()
    
            tracker.loadFrom(emptyEnvironmentState())
        }
    
        @Test(expected = IllegalStateException::class)
        fun `updating state after loading throws`() {
            tracker.loadFrom(emptyEnvironmentState())
    
            tracker.systemPropertyRemoved("some.property")
        }
    
        @Test(expected = IllegalStateException::class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheWorkerApiIntegrationTest.groovy

    class ConfigurationCacheWorkerApiIntegrationTest extends AbstractConfigurationCacheIntegrationTest implements TasksWithInputsAndOutputs {
        def "task can wire input #type with fixed value to worker action parameter property"() {
            buildFile << """
                import ${Inject.name}
    
                abstract class UsesWorker extends DefaultTask {
                    @Input
                    abstract ${type} getValue()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpec.java

        private static GradleVersion getLowestTestedVersion() {
            String property = System.getProperty("org.gradle.integtest.crossVersion.lowestTestedVersion");
            if(property == null) {
                return GradleVersion.version("0.0");
            }
            return GradleVersion.version(property);
        }
    
        public GradleVersionSpec() {
            this.lowestTestedVersion = getLowestTestedVersion();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/GradlePropertiesIncludedBuildFixture.groovy

                """
                    task echo(type: DefaultTask) {
                        def property = providers.gradleProperty('$propertyName')
                            doFirst {
                                println("$propertyName: " + property.orNull)
                            }
                        }
                """
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            then:
            def output = result.output
            problems.assertResultHasProblems(OutputScrapingExecutionResult.from(output, "")) {
                withInput("Plugin class 'MyPlugin': system property 'my.property'")
                ignoringUnexpectedInputs()
            }
            output.contains("Configuration cache entry stored.")
        }
    
        /**
    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-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy

            when:
            configurationCacheRun("assemble")
    
            then:
            outputDoesNotContain("script log statement")
        }
    
        def "can enable configuration cache using gradle property in gradle.properties"() {
            withConfigurationCacheEnabledInGradleProperties()
            buildFile << """
                plugins {
                    id("java")
                }
                println("script log statement")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

            --inputTrackingDisabledCounterForThread
        }
    }
    
    
    private
    operator fun <T> ThreadLocal<T>.getValue(thisRef: Any?, property: KProperty<*>) = get()
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top