Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for compileKotlin (0.08 sec)

  1. buildSrc/src/main/kotlin/JavaModules.kt

      configure<MultiReleaseExtension> {
        targetVersions(defaultVersion, javaModuleVersion)
      }
    
      tasks.named<JavaCompile>("compileJava9Java").configure {
        val compileKotlinTask = tasks.getByName("compileKotlin") as KotlinJvmCompile
        dependsOn(compileKotlinTask)
    
        if (enableValidation) {
          compileKotlinTask.source(file("src/main/java9"))
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. 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