Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testJavaVersion (0.05 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (1)
  2. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:17:18 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. okcurl/build.gradle.kts

    import ru.vyarus.gradle.plugin.animalsniffer.AnimalSnifferExtension
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("com.gradleup.shadow")
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") {
      from("src/main/resources-templates")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. build.gradle.kts

      }
    
      normalization {
        runtimeClasspath {
          metaInf {
            ignoreAttribute("Bnd-LastModified")
          }
        }
      }
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    /** Configure building for Java+Kotlin projects. */
    subprojects {
      val project = this@subprojects
      if (project.name == "okhttp-bom") return@subprojects
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt

        os: Os = Os.LINUX,
        arch: Arch = Arch.AMD64,
        testJavaVersion: String = os.perfTestJavaVersion.major.toString(),
        testJavaVendor: String = os.perfTestJavaVendor.name.lowercase(),
    ) = listOf(
        "$task${if (extraParameters.isEmpty()) "" else " $extraParameters"}",
        "-PperformanceBaselines=$baselines",
        "-PtestJavaVersion=$testJavaVersion",
        "-PtestJavaVendor=$testJavaVendor",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

                            "E.g. org.gradle.performance.regression.java.JavaUpToDatePerformanceTest.up-to-date assemble (parallel true)",
                )
                text(
                    "testJavaVersion",
                    "17",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false,
                    description = "The java version to run the performance tests, e.g. 8/11/17",
                )
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

            description = "Allows you to rerun a selected flaky test 10 times"
            id(id)
            val testJvmVendorParameter = "testJavaVendor"
            val testJvmVersionParameter = "testJavaVersion"
            val testTaskParameterName = "testTask"
            val testNameParameterName = "testName"
            val testTaskOptionsParameterName = "testTaskOptions"
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 19 08:02:04 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. okhttp/build.gradle.kts

      kotlin("plugin.serialization")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    val copyKotlinTemplates = tasks.register<Copy>("copyKotlinTemplates") {
      val kotlinTemplatesOutput = layout.buildDirectory.dir("generated/sources/kotlinTemplates")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top