Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,272 for onlyIf (0.04 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. 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)
  3. 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)
  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-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    val artifactoryUserPassword
        get() = project.providers.gradleProperty("artifactoryUserPassword").orNull
    
    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
            failEarlyIfUrlOrCredentialsAreNotSet(this)
            // packageBuild task executes tests, so we must run after it
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Feb 06 07:41:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            task.setGroup("documentation");
            task.dependsOn(extension.getUserManual().getStagedDocumentation());
            task.onlyIf(t -> !extension.getQuickFeedback().get());
    
            task.sources(patternSet -> patternSet.include("userguide_single.adoc"));
    
            // TODO: This breaks the provider
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 22:33:18 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  10. docs/metrics/prometheus/list.md

    | `minio_cluster_replication_total_failed_count`             | (_Site Replication Only_) Total number of objects which failed replication since server start.           |
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 43.4K bytes
    - Click Count (0)
Back to Top