Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 21 for javaVersion (0.06 seconds)

  1. 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
      }
    }
    ```
    
    
     [advanced_profiling_bug]: https://issuetracker.google.com/issues/135141615
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  2. okhttp/build.gradle.kts

      // because the JDK built-in base modules are not available in earlier versions.
      val javaVersion = compileKotlinTask.kotlinJavaToolchain.javaVersion.getOrNull()
      when {
        javaVersion?.isJava9Compatible == true -> {
          logger.info("Module-info checking is enabled; $compileKotlinTask is compiled using Java $javaVersion")
          // Disabled as this module can't see the others in this build for some reason
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            CODEQL_ENVIRONMENT_VARIABLES.any { it in System.getenv() }
        }
        val jvm = org.gradle.internal.jvm.Jvm.current()
        val javaVersion = JavaVersion.current()
        val isWindows = OperatingSystem.current().isWindows
        val isLinux = OperatingSystem.current().isLinux
        val isMacOsX = OperatingSystem.current().isMacOsX
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Dec 21 08:58:33 GMT 2024
    - 4.7K bytes
    - Click Count (1)
  4. module-tests/build.gradle.kts

      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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:45:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            format(link) == '<ulink url="https://docs.oracle.com/javase/javaVersion/docs/api/java/util/List.html"><classname>List</classname></ulink>'
        }
    
        def rendersLinkToJavaClassArray() {
            when:
            def link = renderer.link(type('java.util.List', true), listener)
    
            then:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            Profile p = Profile.newBuilder().activation(a).build();
    
            return p;
        }
    
        private Properties newProperties(String javaVersion) {
            Properties props = new Properties();
            props.setProperty("java.version", javaVersion);
            return props;
        }
    
        @Test
        void testNullSafe() throws Exception {
            Profile p = Profile.newInstance();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. build.gradle.kts

          "17"
        } else {
          "1.8"
        }
    
      val projectJvmTarget = JvmTarget.fromTarget(javaVersionSetting)
      val projectJavaVersion = JavaVersion.toVersion(javaVersionSetting)
    
      tasks.withType<KotlinCompile> {
        compilerOptions {
          jvmTarget.set(projectJvmTarget)
          freeCompilerArgs = listOf(
            "-Xjvm-default=all",
          )
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 11.5K bytes
    - Click Count (1)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    import gradlebuild.basics.BuildParams.TEST_SPLIT_INCLUDE_TEST_CLASSES
    import gradlebuild.basics.BuildParams.TEST_SPLIT_ONLY_TEST_GRADLE_VERSION
    import gradlebuild.basics.BuildParams.VENDOR_MAPPING
    import org.gradle.api.JavaVersion
    import org.gradle.api.Project
    import org.gradle.api.provider.Provider
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.jvm.toolchain.JvmVendorSpec
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testToString_delayedTimeout() throws Exception {
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        // Parsing to an integer might fail because Java 8 returns "1.8" instead of "8."
        // We can continue if it's 1.8, and we can continue if it's an integer in [9, 20).
        if (javaVersion != null && javaVersion >= 20) {
          // TODO(b/261217224, b/361604053): Make this test work under newer JDKs.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testToString_delayedTimeout() throws Exception {
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        // Parsing to an integer might fail because Java 8 returns "1.8" instead of "8."
        // We can continue if it's 1.8, and we can continue if it's an integer in [9, 20).
        if (javaVersion != null && javaVersion >= 20) {
          // TODO(b/261217224, b/361604053): Make this test work under newer JDKs.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
Back to Top