Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shouldSaveToConfigurationCache (0.43 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/enterprise/core/GradleEnterprisePluginAdapter.java

     * limitations under the License.
     */
    
    package org.gradle.internal.enterprise.core;
    
    import javax.annotation.Nullable;
    
    public interface GradleEnterprisePluginAdapter {
    
        boolean shouldSaveToConfigurationCache();
    
        void onLoadFromConfigurationCache();
    
        void buildFinished(@Nullable Throwable buildFailure);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 29 17:52:58 UTC 2022
    - 898 bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginAdapter.java

            createPluginService();
        }
    
        public GradleEnterprisePluginServiceRef getPluginServiceRef() {
            return pluginServiceRef;
        }
    
        @Override
        public boolean shouldSaveToConfigurationCache() {
            return true;
        }
    
        @Override
        public void onLoadFromConfigurationCache() {
            createPluginService();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/legacy/LegacyGradleEnterprisePluginCheckInService.java

                return forceTaskExecutingBuild || buildType == BuildType.TASKS;
            }
        }
    
        private class Adapter implements GradleEnterprisePluginAdapter {
            @Override
            public boolean shouldSaveToConfigurationCache() {
                return false;
            }
    
            @Override
            public void onLoadFromConfigurationCache() {
                throw new UnsupportedOperationException();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

        def "task output caching key is exposed when scan plugin is applied"() {
            given:
            settingsFile << """
                services.get($GradleEnterprisePluginManager.name).registerAdapter([buildFinished: {}, shouldSaveToConfigurationCache: { false }] as $GradleEnterprisePluginAdapter.name)
            """
    
            buildFile << customTaskCode('foo', 'bar')
    
            when:
            succeeds('customTask')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            val manager = gradle.serviceOf<GradleEnterprisePluginManager>()
            val adapter = manager.adapter
            val writtenAdapter = adapter?.takeIf {
                it.shouldSaveToConfigurationCache()
            }
            write(writtenAdapter)
        }
    
        private
        suspend fun DefaultReadContext.readGradleEnterprisePluginManager(gradle: GradleInternal) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top