Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,005 for onlyIf (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. .teamcity/.mvn/develocity.xml

      ~ limitations under the License.
      -->
    
    <develocity>
        <server>
            <url>https://ge.gradle.org</url>
        </server>
        <buildScan>
            <publishing>
                <onlyIf>true</onlyIf>
            </publishing>
            <values>
                <value>
                    <name>PartOf</name>
                    <value>QuickFeedbackLinuxOnly</value>
                </value>
                <value>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 07 10:57:45 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntFixtureStop.groovy

        }
    
        void setFixture(AntFixture fixture) {
            assert this.fixture == null
            this.fixture = fixture;
            final Object pid = "${ -> this.fixture.pid }"
            onlyIf { fixture.pidFile.exists() }
            doFirst {
                logger.info("Shutting down ${fixture.name} with pid ${pid}")
            }
    
            if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                executable = 'Taskkill'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  3. container-tests/build.gradle.kts

    val testJavaVersion = project.testJavaVersion
    
    tasks.withType<Test> {
      useJUnitPlatform()
      val isCi = providers.environmentVariable("CI")
      val containerTests = providers.gradleProperty("containerTests")
      onlyIf("By default not in CI") {
        !isCi.isPresent
          || (containerTests.isPresent && containerTests.get().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 1.3K bytes
    - Click Count (1)
  4. okcurl/build.gradle.kts

    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    }
    
    tasks.withType<Test> {
      val javaVersion = project.testJavaVersion
      onlyIf("native build requires Java 17") {
        javaVersion > 17
      }
    }
    
    apply(plugin = "org.graalvm.buildtools.native")
    
    configure<GraalVMExtension> {
      binaries {
        named("main") {
          imageName = "okcurl"
          mainClass = "okhttp3.curl.MainCommandLineKt"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts

      }
    
      signatures = androidSignature + jvmSignature
      failWithoutSignatures = false
    }
    
    // Default to only published modules
    project.tasks.withType<AnimalSniffer> {
      val hasMavenPublish = project.extensions.findByType<MavenPublishBaseExtension>() != null
      onlyIf {
        hasMavenPublish
      }
    }
    
    dependencies {
      // Logic for signatures should be moved to the applying module or configured via extension
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. okhttp-osgi-tests/build.gradle.kts

    }
    
    dependencies {
      osgiTestDeploy(libs.eclipse.osgi)
      osgiTestDeploy(libs.kotlin.stdlib.osgi)
    }
    
    tasks.withType<Test> {
      dependsOn(copyOsgiTestDeployment)
      val javaVersion = project.testJavaVersion
      onlyIf("Tests require JDK 17") {
        javaVersion >= 17
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. build-logic/src/main/kotlin/BndBuildAction.kt

                target: String?,
              ) = "${jvmMainSourceSet.getTaskName(verb, target)}ForFakeMain"
            }
          sourceSets.add(mainSourceSet)
          project.tasks.named { it.endsWith("ForFakeMain") }.configureEach { onlyIf { false } }
    
          return mainSourceSet
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

                                .resolve(RELATIVE_API_PATH)
                        )
                    );
                    task.onlyIf(t -> isEnabled(project));
                });
    
            // copy compatible rest tests
            Provider<CopyRestTestsTask> copyCompatYamlTestTask = project.getTasks()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

                addRemote.dependsOn(findRemoteTaskProvider);
                addRemote.onlyIf(task -> ((boolean) project.getExtensions().getExtraProperties().get("remoteExists")) == false);
                addRemote.setWorkingDir(gitExtension.getCheckoutDir().get());
                String remoteRepo = remote.get();
                // for testing only we can override the base remote url
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/BuildToolsConventionsPlugin.java

            int defaultParallel = ParallelDetector.findDefaultParallel(project);
            project.getTasks().withType(Test.class).configureEach(test -> {
                test.onlyIf((t) -> Util.getBooleanProperty("tests.fips.enabled", false) == false);
                test.setMaxParallelForks(defaultParallel);
            });
            // we put all our distributable files under distributions
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:44:49 GMT 2021
    - 1.5K bytes
    - Click Count (0)
Back to Top