Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Consumer (0.65 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedInputAccessListener.kt

        }
    
        override fun externalProcessStarted(command: String, consumer: String) {
            if (Workarounds.canStartExternalProcesses(consumer)) {
                return
            }
            externalProcessListener.onExternalProcessStarted(command, consumer)
        }
    
        override fun fileOpened(file: File, consumer: String) {
            if (Workarounds.canReadFiles(consumer)) {
                return
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmDefaultIntegrationTest.kt

                )
            }
        }
    
        @Test
        fun `kotlin-dsl java and groovy consumers can use kotlin interface default methods directly`() {
    
            file("settings.gradle.kts").appendText(
                """
                include("kotlin-dsl-producer")
                include("java-consumer")
                include("groovy-consumer")
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/DefaultProblemFactory.kt

            } else {
                locationForCaller(consumer, diagnostics.source)
            }
        }
    
        private
        fun locationForCaller(consumer: String?, source: UserCodeSource?): PropertyTrace {
            return if (source != null) {
                PropertyTrace.BuildLogic(source.displayName, null)
            } else if (consumer != null) {
                PropertyTrace.BuildLogicClass(consumer)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/UndeclaredBuildInputListener.kt

         */
        fun systemPropertyRead(key: String, value: Any?, consumer: String?)
    
        fun envVariableRead(key: String, value: String?, consumer: String?)
    
        fun fileOpened(file: File, consumer: String?)
    
        fun fileObserved(file: File, consumer: String?)
    
        fun fileSystemEntryObserved(file: File, consumer: String?)
    
        fun directoryChildrenObserved(directory: File, consumer: String?)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/ProblemFactory.kt

    
    @EventScope(Scope.BuildTree::class)
    interface ProblemFactory {
        /**
         * Returns a default location inferred from the calling thread's state.
         */
        fun locationForCaller(consumer: String? = null): PropertyTrace
    
        /**
         * Creates a problem with the given message and exception.
         *
         * Problem has no documentation, and a default location is inferred from the calling thread's state.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ExecutionAccessChecker.kt

    ) : ExecutionAccessChecker {
        override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, getterName: String, consumer: String) {
            if (shouldReportExecutionTimeAccess()) {
                broadcaster.disallowedAtExecutionInjectedServiceAccessed(injectedServiceType, getterName, consumer)
            }
        }
    
        private
        fun shouldReportExecutionTimeAccess(): Boolean =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginAccessorsIntegrationTest.kt

                include("consumer", "producer")
                """
            )
    
            withBuildScript(
                """
                plugins {
                    `java-library`
                }
    
                allprojects {
                    $repositoriesBlock
                }
    
                dependencies {
                    api(project(":consumer"))
                }
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginAccessorSettingEvaluationTest.kt

                        "producer.plugin.gradle.kts",
                        """extensions.add("answer", 42)"""
                    )
                }
                // a consumer of the precompiled script plugin extension
                "consumer/src/main/kotlin" {
                    withFile(
                        "consumer.plugin.gradle.kts",
                        """
                            plugins { id("producer.plugin") }
                            println(answer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedExecutionAccessListener.kt

    ) : InstrumentedExecutionAccess.Listener {
    
        override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, propertyName: String, consumer: String) {
            executionAccessChecker.disallowedAtExecutionInjectedServiceAccessed(injectedServiceType, propertyName, consumer)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheProblemsListener.kt

    ) : ConfigurationCacheProblemsListener {
    
        override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, getterName: String, consumer: String) {
            val problem = problemFactory.problem(consumer) {
                text("accessing non-serializable type ")
                reference(injectedServiceType)
                text(" caused by invocation ")
                reference(getterName)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top