Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for alpnBootVersion (0.05 seconds)

  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")
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  2. build-logic/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")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 01 16:35:35 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. build-logic/src/main/kotlin/okhttp3/buildsupport/OkHttpBuildUtils.kt

      get() = findProperty("test.java.version")?.toString()?.toInt() ?: 21
    
    val Project.androidBuild: Boolean
      get() = findProperty("androidBuild")?.toString()?.toBoolean() ?: false
    
    val Project.alpnBootVersion: String?
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 1K bytes
    - Click Count (0)
Back to Top