Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for StartParameter (0.95 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEnablementIntegrationTest.groovy

            task check {
                assert gradle.startParameter.configurationCache.get() == ${ccOn}
                assert ${maxProblems == _ } || gradle.startParameter.configurationCacheMaxProblems == ${maxProblems}
                assert ${problemsAs == _ } || gradle.startParameter.configurationCacheProblems.name() == "${problemsAs}"
                assert ${quiet == _ } || gradle.startParameter.configurationCacheQuiet == ${quiet}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

            given:
            def configurationCache = newConfigurationCacheFixture()
    
            buildFile """
                def startParameter = gradle.startParameter
                tasks.help {
                    doLast {
                        println "isConfigurationCacheRequested=" + startParameter.isConfigurationCacheRequested()
                    }
                }
            """
    
            when:
            run "help"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

            }
        }
    
        private
        fun determineCacheAction(): ConfigurationCacheAction = when {
            startParameter.recreateCache -> {
                logBootstrapSummary("Recreating configuration cache")
                ConfigurationCacheAction.STORE
            }
    
            startParameter.isRefreshDependencies -> {
                logBootstrapSummary(
                    "{} as configuration cache cannot be reused due to {}",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

    import org.gradle.problems.buildtree.ProblemReporter.ProblemConsumer
    import java.io.File
    
    
    @ServiceScope(Scope.BuildTree::class)
    internal
    class ConfigurationCacheProblems(
    
        private
        val startParameter: ConfigurationCacheStartParameter,
    
        private
        val report: ConfigurationCacheReport,
    
        private
        val cacheKey: ConfigurationCacheKey,
    
        private
        val listenerManager: ListenerManager,
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/initialization/buildsrc/BuildSrcBuildListenerFactoryTest.groovy

        def startParameter = Mock(StartParameterInternal)
        def projectState = Mock(ProjectState) {
            fromMutableState(_) >> { Function function -> function.apply(project) }
        }
        def project = Mock(ProjectInternal) {
            getOwner() >> projectState
        }
        def gradle = Mock(GradleInternal) {
            getStartParameter() >> startParameter
            getRootProject() >> project
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

            }
        }
    
        private LoggingManagerInternal createLoggingManager(StartParameter startParameter, OutputStream outputStream, OutputStream errorStream) {
            LoggingManagerInternal loggingManager = GLOBAL_SERVICES.getFactory(LoggingManagerInternal.class).create();
            loggingManager.captureSystemSources();
    
            ConsoleOutput consoleOutput = startParameter.getConsoleOutput();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/RemoteScriptUpToDateChecker.kt

    import java.net.URI
    
    
    @ServiceScope(Scope.BuildTree::class)
    class RemoteScriptUpToDateChecker(
        private val lockingAccessCoordinator: ArtifactCacheLockingAccessCoordinator,
        private val startParameter: ConfigurationCacheStartParameter,
        private val temporaryFileProvider: TemporaryFileProvider,
        private val externalResourceFileStore: ExternalResourceFileStore,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheAwareBuildTreeWorkController.kt

        private val workGraph: BuildTreeWorkGraphController,
        private val cache: BuildTreeConfigurationCache,
        private val buildRegistry: BuildStateRegistry,
        private val startParameter: ConfigurationCacheStartParameter,
    ) : BuildTreeWorkController {
    
        override fun scheduleAndRunRequestedTasks(taskSelector: EntryTaskSelector?): ExecutionResult<Void> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

    @ServiceScope(Scope.BuildTree::class)
    internal
    class DefaultEncryptionService(
        private val startParameter: ConfigurationCacheStartParameter,
        private val cacheBuilderFactory: GlobalScopedCacheBuilderFactory,
    ) : EncryptionService {
    
        private
        val secretKey: SecretKey? by lazy {
            produceSecretKey(EncryptionKind.select(startParameter.encryptionRequested))
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheServices.kt

        object RemoteScriptUpToDateCheckerProvider : ServiceRegistrationProvider {
            @Provides
            fun createRemoteScriptUpToDateChecker(
                artifactCachesProvider: ArtifactCachesProvider,
                startParameter: ConfigurationCacheStartParameter,
                temporaryFileProvider: TemporaryFileProvider,
                fileStoreAndIndexProvider: FileStoreAndIndexProvider,
                resourceConnectorFactories: List<ResourceConnectorFactory>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top