Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,148 for onlyIf (0.41 sec)

  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>
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jan 07 10:57:45 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. 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")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. okhttp-osgi-tests/build.gradle.kts

    }
    
    dependencies {
      osgiTestDeploy(libs.eclipseOsgi)
      osgiTestDeploy(libs.kotlin.stdlib.osgi)
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    tasks.withType<Test> {
      onlyIf("Tests require JDK 17") {
        testJavaVersion >= 17
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 08:17:18 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. container-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (1)
  5. okcurl/build.gradle.kts

        attributes("Automatic-Module-Name" to "okhttp3.curl")
        attributes("Main-Class" to "okhttp3.curl.MainCommandLineKt")
      }
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    }
    
    tasks.withType<Test> {
      onlyIf("native build requires Java 17") {
        testJavaVersion > 17
      }
    }
    
    apply(plugin = "org.graalvm.buildtools.native")
    
    configure<GraalVMExtension> {
      binaries {
        named("main") {
          imageName = "okcurl"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. 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
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 17 16:12:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. buildSrc/src/main/kotlin/Osgi.kt

        }
      extensions
        .getByType(JavaPluginExtension::class.java)
        .sourceSets
        .add(mainSourceSet)
      tasks.named { it.endsWith("ForFakeMain") }.configureEach { onlyIf { false } }
    
      val osgiApi = configurations.create("osgiApi")
      dependencies {
        osgiApi(kotlinOsgi)
      }
    
      // Call the convention when the task has finished, to modify the jar to contain OSGi metadata.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.setGroup("documentation");
                task.setDescription("Generates DSL reference HTML documentation.");
                task.onlyIf(t -> !extension.getQuickFeedback().get());
    
                task.source(dslStandaloneDocbook);
                task.getStylesheetDirectory().convention(dslReference.getStylesheetDirectory());
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            Multiset<String> multiset1 = LinkedHashMultiset.create();
            Multiset<String> multiset2 = LinkedHashMultiset.create();
            multiset1.add("only1");
            multiset2.add("only2");
            for (int i = 0; i < elements.length; i++) {
              multiset1.add(elements[i]);
              multiset2.add(elements[elements.length - 1 - i]);
            }
            if (elements.length > 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            Multiset<String> multiset1 = LinkedHashMultiset.create();
            Multiset<String> multiset2 = LinkedHashMultiset.create();
            multiset1.add("only1");
            multiset2.add("only2");
            for (int i = 0; i < elements.length; i++) {
              multiset1.add(elements[i]);
              multiset2.add(elements[elements.length - 1 - i]);
            }
            if (elements.length > 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top