Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compileKotlin (0.11 sec)

  1. docs/changelogs/upgrading_to_okhttp_4.md

    [first introduced][require_android_5] with OkHttp 3.13.
    
    Here’s what you need in `build.gradle` to target Java 8 byte code for Kotlin, Java, and Android
    plugins respectively.
    
    ```groovy
    compileKotlin {
      kotlinOptions {
        jvmTarget = "1.8"
      }
    }
    compileTestKotlin {
      kotlinOptions {
        jvmTarget = "1.8"
      }
    }
    
    compileJava {
      sourceCompatibility = JavaVersion.VERSION_1_8
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
Back to top