Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getActive (0.11 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/configuration/BuildFeature.java

    /**
     * Status of a feature in a build that affects Gradle behavior,
     * and may impose additional requirements on plugins or build scripts.
     * <p>
     * It is possible to check if the feature is {@link #getActive() active} in the current build.
     * The {@link #getRequested() requested} property shows whether the user opted in or opted out from the feature.
     *
     * @see BuildFeatures
     * @since 8.5
     */
    @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 30 19:28:25 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultDevelocityBuildLifecycleService.java

            } else {
                gradle.allprojects(action);
            }
        }
    
        private boolean isIsolatedProjects() {
            return features.getIsolatedProjects().getActive().getOrElse(false);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 21:44:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/developingPlugins/reactingToBuildFeatures/groovy/buildSrc/src/main/java/MyPlugin.java

            MyReport myReport = new MyReport();
            myReport.setConfigurationCacheUsage(configCacheUsage);
    
            boolean isolatedProjectsActive = buildFeatures.getIsolatedProjects().getActive() // <3>
                .get(); // the active state is always defined
            if (!isolatedProjectsActive) {
                myOptionalPluginLogicIncompatibleWithIsolatedProjects();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/configuration/DefaultBuildFeature.java

            this.active = active;
        }
    
        @Override
        public Provider<Boolean> getRequested() {
            return requested;
        }
    
        @Override
        public Provider<Boolean> getActive() {
            return active;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 29 08:08:36 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top