Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for Native (0.03 sec)

  1. okcurl/build.gradle.kts

        attributes("Main-Class" to "okhttp3.curl.MainCommandLineKt")
      }
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    }
    
    tasks.withType<Test> {
      onlyIf("native build requires Java 17") {
        testJavaVersion > 17
      }
    }
    
    apply(plugin = "org.graalvm.buildtools.native")
    
    configure<GraalVMExtension> {
      binaries {
        named("main") {
          imageName = "okcurl"
          mainClass = "okhttp3.curl.MainCommandLineKt"
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. native-image-tests/README.md

    Native Image Tests
    ==================
    
    This executes OkHttp's test suite inside a Graalvm image.
    
    Execute
    -------
    
    The native image runs JUnit 5 tests in the project.
    
    ```
    ./gradlew -PgraalBuild=true --info native-image-tests:nativeTest
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 21:44:11 UTC 2025
    - 242 bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return result;
      }
    
      /*
       * If I understand correctly:
       *
       * This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of
       * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but
       * *J2CL* doesn't look at it.)
       *
       * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. buildSrc/build.gradle.kts

      // 7.1.0 is used because it avoids this error
      // Could not create an instance of type aQute.bnd.gradle.BundleTaskExtension.
      // Cannot change attributes of configuration ':native-image-tests:compileClasspath' after it has been locked for mutation
      implementation("biz.aQute.bnd:biz.aQute.bnd.gradle:7.1.0")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  5. settings.gradle.kts

    val androidBuild: String by settings
    val graalBuild: String by settings
    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    include(":okhttp")
    include(":okhttp-bom")
    include(":okhttp-brotli")
    include(":okhttp-coroutines")
    include(":okhttp-dnsoverhttps")
    include(":okhttp-hpacktests")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. native-image-tests/build.gradle.kts

    plugins {
      id("org.graalvm.buildtools.native")
      kotlin("jvm")
    }
    
    animalsniffer {
      isIgnoreFailures = true
    }
    
    // TODO reenable other tests
    // https://github.com/square/okhttp/issues/8901
    //sourceSets {
    //  test {
    //    java.srcDirs(
    //      "../okhttp-brotli/src/test/java",
    //      "../okhttp-dnsoverhttps/src/test/java",
    //      "../okhttp-logging-interceptor/src/test/java",
    //      "../okhttp-sse/src/test/java",
    //    )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 904 bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Types.java

       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
       * implementation unless some of its bounds have changed in resolution. This avoids creating
       * unequal TypeVariable implementation unnecessarily. When the bounds do change, however, it's
       * fine for the synthetic TypeVariable to be unequal to any native TypeVariable anyway.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. build.gradle.kts

      }
    
      val javaVersionSetting =
        if (testJavaVersion > 8 && (project.name == "okcurl" || project.name == "native-image-tests")) {
          // Depends on native-image-tools which is 17+, but avoids on Java 8 tests
          "17"
        } else {
          "1.8"
        }
    
      val projectJvmTarget = JvmTarget.fromTarget(javaVersionSetting)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/MediaType.java

      /**
       * NaCl applications. For more information see <a
       * href="https://developer.chrome.com/native-client/devguide/coding/application-structure">the
       * Developer Guide for Native Client Application Structure</a>.
       *
       * @since 20.0
       */
      public static final MediaType NACL_APPLICATION = createConstant(APPLICATION_TYPE, "x-nacl");
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. maven-tests/mvnw

      :Darwin*x86_64) distributionPlatform=darwin-amd64 ;;
      :Darwin*arm64) distributionPlatform=darwin-aarch64 ;;
      :Linux*x86_64*) distributionPlatform=linux-amd64 ;;
      *)
        echo "Cannot detect native platform for mvnd on $(uname)-$(uname -m), use pure java version" >&2
        distributionPlatform=linux-amd64
        ;;
      esac
      distributionUrl="${distributionUrl%-bin.*}-$distributionPlatform.zip"
      ;;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top