Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for alpnBootVersion (0.07 sec)

  1. okhttp/build.gradle.kts

      }
    }
    
    if (platform == "jdk8alpn") {
      // Add alpn-boot on Java 8 so we can use HTTP/2 without a stable API.
      val alpnBootVersion = alpnBootVersion()
      if (alpnBootVersion != null) {
        val alpnBootJar = configurations.detachedConfiguration(
          dependencies.create("org.mortbay.jetty.alpn:alpn-boot:$alpnBootVersion")
        ).singleFile
        tasks.withType<Test> {
          jvmArgs("-Xbootclasspath/p:${alpnBootJar}")
        }
      }
    }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. buildSrc/src/main/kotlin/AlpnVersions.kt

        else -> null
      }
    
    /**
     * Returns the alpn-boot version specific to this OpenJDK 8 JVM, or null if this is not a Java 8 VM.
     * https://github.com/xjdr/xio/blob/master/alpn-boot.gradle
     */
    fun alpnBootVersion(): String? {
      val version = System.getProperty("alpn.boot.version")
    
      if (version != null) {
        return version
      }
    
      val javaVersion = System.getProperty("java.version")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top