Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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}")
          }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K 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")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top