- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for setBoolean (0.31 sec)
-
platforms/documentation/docs/src/snippets/workerApi/workerDaemon/groovy/build.gradle
fileSystemOperations.copy { from fileToReverse into parameters.destinationDir filter { String line -> line.reverse() } } if (Boolean.getBoolean("org.gradle.sample.showFileSize")) { println "Reversed ${fileToReverse.size()} bytes from ${fileToReverse.name}" } } } abstract class ReverseFiles extends SourceTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/InstrumentedTest.groovy
System.setProperty("prop", "true") when: def result = Instrumented.getBoolean("prop", "consumer") then: result 1 * listener.systemPropertyQueried("prop", "true", "consumer") 0 * listener._ when: result = Instrumented.getBoolean("not-set", "consumer") then: !result
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/enterprise/enterprise-plugin-performance/src/templates/project-with-source/Test.java
public class ${testClassName} { private final ${productionClassName} production = new ${productionClassName}("value"); @org.junit.Test public void testOne() throws Exception { if(Boolean.getBoolean("slowTasks")) { Thread.sleep(10); } for (int i = 0; i < 500; i++) { System.out.println("Some test output from ${testClassName}.testOne - " + i);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:38:06 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DeferredProjectConfiguration.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultScriptHandler.java
import org.gradle.internal.resource.ResourceLocation; import org.gradle.util.internal.ConfigureUtil; import javax.inject.Inject; import java.io.File; import java.net.URI; import static java.lang.Boolean.getBoolean; @NonExtensible public class DefaultScriptHandler implements ScriptHandler, ScriptHandlerInternal { /** * If set to {@code true}, the buildscript's {@code classpath} configuration will not be reset after the
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 17:56:17 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocWorkAvoidanceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/DefaultGarbageCollectionMonitor.java
this.heapEvents = new DefaultSlidingWindow<>(EVENT_WINDOW); this.nonHeapEvents = new DefaultSlidingWindow<>(EVENT_WINDOW); if (gcStrategy != GarbageCollectorMonitoringStrategy.UNKNOWN && !Boolean.getBoolean(DISABLE_POLLING_SYSTEM_PROPERTY)) { pollForValues(); } } private void pollForValues() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/enterprise/enterprise-plugin-performance/src/templates/buildsrc-plugins/buildSrc/build.gradle
import org.gradle.api.Project; import org.gradle.api.Plugin; public class GeneratedPlugin${i} implements Plugin<Project> { boolean reducedOutput = Boolean.getBoolean("reducedOutput"); public void apply(Project project) { ${maybeApplyNestedPluginCode(i)} if (!reducedOutput) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:38:06 UTC 2023 - 2.7K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/AbstractCrossBuildPerformanceTest.groovy
@Rule PerformanceTestIdProvider performanceTestIdProvider = new PerformanceTestIdProvider() CrossBuildPerformanceTestRunner runner def setup() { Assume.assumeFalse(Boolean.getBoolean(CROSS_VERSION_ONLY_PROPERTY_NAME)) runner = new CrossBuildPerformanceTestRunner( new GradleBuildExperimentRunner(gradleProfilerReporter, outputDirSelector),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/IsolatedProjectsGradleExecuter.groovy
"-Dorg.gradle.configuration-cache.internal.load-after-store=${testWithLoadAfterStore()}" ].collect { it.toString() } static boolean testWithLoadAfterStore() { return !Boolean.getBoolean("org.gradle.configuration-cache.internal.test-disable-load-after-store") } IsolatedProjectsGradleExecuter( GradleDistribution distribution, TestDirectoryProvider testDirectoryProvider,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.2K bytes - Viewed (0)