Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,532 for onlyIf (0.05 seconds)

  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. build-tools-internal/src/main/groovy/elasticsearch.bwc-test.gradle

      group = 'verification'
    
      if (project.bwc_tests_enabled) {
        dependsOn tasks.matching { it.name ==~ /v[0-9\.]+#bwcTest/ }
      }
    }
    
    tasks.withType(Test).configureEach {
      onlyIf { project.bwc_tests_enabled }
      nonInputProperties.systemProperty 'tests.bwc', 'true'
    }
    
    tasks.matching { it.name.equals("check") }.configureEach {dependsOn(bwcTestSnapshots) }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 30 12:11:25 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  4. 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)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

            }
        }
    }
    
    tasks.withType<Javadoc>().configureEach {
        assert(name != "javadocAll") // This plugin should not be applied to the :docs project.
    
        onlyIf("Do not run the task if there are no java sources") {
            // Javadoc task will complain if we only have package-info.java files and no
            // other java files (as is with some Kotlin projects)
            !source.matching {
                exclude("**/package-info.java")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top