Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for sourceCompatibility (0.09 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. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                "methodName": "getSourceCompatibility",
                                "methodDescriptor": "()Lorg/gradle/api/provider/Property;",
                                "propertyName": "sourceCompatibility",
                                "replacedAccessors": [{
                                    "binaryCompatibility": "ACCESSORS_REMOVED",
                                    "descriptor": "()Ljava/lang/String;",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.java-shared-runtime.gradle.kts

        id("gradlebuild.reproducible-archives")
        id("gradlebuild.private-javadoc")
    }
    
    description = "A plugin that sets up a Java code that is shared between build-logic and runtime"
    
    java {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    testing {
        suites {
            val test by getting(JvmTestSuite::class) {
                useSpock()
                dependencies {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jan 22 14:28:13 GMT 2025
    - 699 bytes
    - Click Count (0)
  4. 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)
  5. build-conventions/build.gradle

        id 'eclipse'
    }
    
    group = "org.elasticsearch"
    
    def minRuntimeJava = JavaVersion.toVersion(file('../build-tools-internal/src/main/resources/minimumRuntimeVersion').text)
    targetCompatibility = minRuntimeJava
    sourceCompatibility = minRuntimeJava
    
    gradlePlugin {
        // We already configure publication and we don't need or want the one that comes
        // with the java-gradle-plugin
        automatedPublishing = false
        plugins {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  6. 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)
  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. docs/changelogs/upgrading_to_okhttp_4.md

      }
    }
    compileTestKotlin {
      kotlinOptions {
        jvmTarget = "1.8"
      }
    }
    
    compileJava {
      sourceCompatibility = JavaVersion.VERSION_1_8
      targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    android {
      compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
      }
    }
    ```
    
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  9. build-tools-internal/build.gradle

     *****************************************************************************/
    
    def minCompilerJava = JavaVersion.toVersion(file('src/main/resources/minimumCompilerVersion').text)
    targetCompatibility = minCompilerJava
    sourceCompatibility = minCompilerJava
    
    if (JavaVersion.current() < JavaVersion.toVersion(minCompilerJava)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  10. 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