Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for kotlinOptions (0.2 sec)

  1. android-test-app/build.gradle.kts

        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      buildTypes {
        release {
          isShrinkResources = true
          isMinifyEnabled = true
          signingConfig = signingConfigs.getByName("debug")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. regression-test/build.gradle.kts

        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES"
      )
    }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. okhttp-android/build.gradle.kts

          }
    
          targetSdk = 34
        }
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      compileOnly(libs.androidx.annotation)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. android-test/build.gradle.kts

        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      testOptions {
        targetSdk = 34
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

    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
      targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  6. build.gradle.kts

        }
    
        // OkHttp requires Java 8+.
        signature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } }
      }
    
      tasks.withType<KotlinCompile> {
        kotlinOptions {
          jvmTarget = JavaVersion.VERSION_1_8.toString()
          freeCompilerArgs = listOf(
            "-Xjvm-default=all",
          )
        }
      }
    
      val platform = System.getProperty("okhttp.platform", "jdk9")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. ChangeLog.md

    - [`KT-57330`](https://youtrack.jetbrains.com/issue/KT-57330) Provide collection of usage statistics for the Dokka
    - [`KT-57393`](https://youtrack.jetbrains.com/issue/KT-57393) jvm-target value set through 'android.kotlinOptions' is ignored and overwritten with the default 1.8 value
    - [`KT-58745`](https://youtrack.jetbrains.com/issue/KT-58745) KaptGenerateStubs task should also be configured with the same compiler plugin options
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
Back to top