Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getConfigurationCache (0.23 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/configuration/DefaultBuildFeatures.java

            this.isolatedProjects = Lazy.atomic().of(() -> createIsolatedProjects(startParameter, buildModelParameters));
        }
    
        @Override
        public BuildFeature getConfigurationCache() {
            return configurationCache.get();
        }
    
        @Override
        public BuildFeature getIsolatedProjects() {
            return isolatedProjects.get();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 09:05:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/developingPlugins/reactingToBuildFeatures/groovy/buildSrc/src/main/java/MyPlugin.java

        @Override
        public void apply(Project p) {
            BuildFeatures buildFeatures = getBuildFeatures();
    
            Boolean configCacheRequested = buildFeatures.getConfigurationCache().getRequested() // <2>
                .getOrNull(); // could be null if user did not opt in nor opt out
            String configCacheUsage = describeFeatureUsage(configCacheRequested);
            MyReport myReport = new MyReport();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/StartParameterInternal.java

        public boolean isConfigurationCache() {
            return getConfigurationCache().get();
        }
    
        /**
         * Is the configuration cache requested? Note: depending on the build action, this may not be the final value for this option.
         *
         * Consider querying {@link BuildModelParameters} instead.
         */
        public Option.Value<Boolean> getConfigurationCache() {
            return configurationCache;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 29 08:08:36 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/configuration/BuildFeatures.java

        /**
         * State of the <a href="https://docs.gradle.org/current/userguide/configuration_cache.html">Configuration Cache</a> feature in the build.
         *
         * @since 8.5
         */
        BuildFeature getConfigurationCache();
    
        /**
         * State of the <a href="https://docs.gradle.org/current/userguide/isolated_projects.html">Isolated Projects</a> feature in the build.
         *
         * @since 8.5
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/invocation/GradleLifecycle.java

    import org.gradle.api.IsolatedAction;
    import org.gradle.api.Project;
    import org.gradle.api.configuration.BuildFeatures;
    
    /**
     * Gradle lifecycle callbacks compatible with {@link BuildFeatures#getConfigurationCache() Configuration Cache}
     * and {@link BuildFeatures#getIsolatedProjects() Isolated Projects}.
     *
     * @since 8.8
     */
    @Incubating
    public interface GradleLifecycle {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 21:28:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top