Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for sourceCompatibility (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts

    configureKotlinCompatibility(version = version("kotlinCoreLibrariesVersion"))
    
    tasks.withType<JavaCompile> {
      options.encoding = Charsets.UTF_8.toString()
      if (name.contains("Java9")) {
        sourceCompatibility = "9"
        targetCompatibility = "9"
      } else {
        sourceCompatibility = "1.8"
        targetCompatibility = "1.8"
      }
    }
    
    tasks.withType<KotlinCompile> {
      compilerOptions {
        jvmTarget.set(JvmTarget.JVM_1_8)
        freeCompilerArgs.addAll(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Feb 09 14:40:26 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  2. okcurl/build.gradle.kts

      id("okhttp.testing-conventions")
      id("com.gradleup.shadow")
    }
    
    tasks.withType<KotlinCompile> {
      compilerOptions {
        jvmTarget.set(JvmTarget.JVM_17)
      }
    }
    
    tasks.withType<JavaCompile> {
      sourceCompatibility = JvmTarget.JVM_17.target
      targetCompatibility = JvmTarget.JVM_17.target
    }
    
    val copyResourcesTemplates =
      tasks.register<Copy>("copyResourcesTemplates") {
        from("src/main/resources-templates")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.kotlin-shared-runtime.gradle.kts

        id("gradlebuild.ci-reporting")
        id("gradlebuild.private-javadoc")
    }
    
    description = "A plugin that sets up a Kotlin DSL code that is shared between build-logic and runtime"
    
    java {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    kotlin {
        compilerOptions {
            allWarningsAsErrors = true
            jvmTarget.set(JvmTarget.JVM_1_8)
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jan 22 14:28:13 GMT 2025
    - 869 bytes
    - Click Count (0)
  4. regression-test/build.gradle.kts

          "notClass" to "org.conscrypt.KitKatPlatformOpenSSLSocketImplAdapter,org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests"
        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES"
      )
    }
    
    dependencies {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  5. android-test-app/build.gradle.kts

      defaultConfig {
        minSdk = 21
        targetSdk = 36
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
    
      buildTypes {
        release {
          isShrinkResources = true
          isMinifyEnabled = true
          signingConfig = signingConfigs.getByName("debug")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 06:56:34 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  6. native-image-tests/build.gradle.kts

      id("okhttp.testing-conventions")
    }
    
    tasks.withType<KotlinCompile> {
      compilerOptions {
        jvmTarget.set(JvmTarget.JVM_17)
      }
    }
    
    tasks.withType<JavaCompile> {
      sourceCompatibility = JvmTarget.JVM_17.target
      targetCompatibility = JvmTarget.JVM_17.target
    }
    
    // TODO reenable other tests
    // https://github.com/square/okhttp/issues/8901
    // sourceSets {
    //  test {
    //    java.srcDirs(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  7. module-tests/build.gradle.kts

    tasks.withType<Test> {
      useJUnitPlatform()
    
      enabled = testJavaVersion > 8
    
      javaLauncher.set(javaToolchains.launcherFor {
        languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
      })
    }
    
    java {
      sourceCompatibility = JavaVersion.VERSION_11
      targetCompatibility = JavaVersion.VERSION_11
      toolchain {
        languageVersion.set(JavaLanguageVersion.of(21))
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. android-test/build.gradle.kts

          "../okhttp-logging-interceptor/src/test/java",
          "../okhttp-sse/src/test/java"
        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      testOptions {
        targetSdk = 34
        unitTests.isIncludeAndroidResources = true
      }
    
    
      // issue merging due to conflict with httpclient and something else
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.8K bytes
    - Click Count (2)
  9. okhttp/build.gradle.kts

        }
      }
      // Set the task outputs and destination dir
      outputs.dir(targetDir)
      destinationDirectory.set(targetDir)
    
      // Configure JVM compatibility
      sourceCompatibility = JavaVersion.VERSION_1_9.toString()
      targetCompatibility = JavaVersion.VERSION_1_9.toString()
    
      // Set the Java release version.
      options.release.set(9)
    
    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)
Back to Top