Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for graal (0.02 sec)

  1. native-image-tests/build.gradle.kts

    import org.apache.tools.ant.taskdefs.condition.Os
    
    plugins {
      id("com.palantir.graal")
      kotlin("jvm")
    }
    
    dependencies {
      implementation(libs.junit.jupiter.api)
      implementation(libs.junit.jupiter.engine)
      implementation(libs.junit.platform.console)
      implementation(libs.squareup.okio.fakefilesystem)
    
      implementation(projects.okhttp)
      implementation(projects.okhttpBrotli)
      implementation(projects.okhttpDnsoverhttps)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. okcurl/build.gradle.kts

    tasks.shadowJar {
      mergeServiceFiles()
    }
    
    graal {
      mainClass("okhttp3.curl.MainCommandLineKt")
      outputName("okcurl")
      graalVersion(libs.versions.graalvm.get())
      javaVersion("11")
    
      option("--no-fallback")
    
      if (Os.isFamily(Os.FAMILY_WINDOWS)) {
        // May be possible without, but autodetection is problematic on Windows 10
        // see https://github.com/palantir/gradle-graal
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/graal/GraalSvm.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.graal
    
    import com.oracle.svm.core.annotate.Delete
    import com.oracle.svm.core.annotate.Substitute
    import com.oracle.svm.core.annotate.TargetClass
    import okhttp3.internal.platform.Android10Platform
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/graal/OkHttpFeature.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.internal.graal
    
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    import org.graalvm.nativeimage.hosted.Feature
    import org.graalvm.nativeimage.hosted.RuntimeResourceAccess
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. okcurl/okcurl

    #!/bin/sh -e
    
    ../gradlew -q --console plain nativeImage
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 30 05:41:17 UTC 2022
    - 83 bytes
    - Viewed (0)
  6. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/native-image.properties

    Args = -H:+AddAllCharsets -H:EnableURLProtocols=http,https --enable-https --features=okhttp3.internal.graal.OkHttpFeature...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 122 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

            taskRunner.kickCoordinator(this)
          }
        }
      }
    
      /**
       * Overload of [schedule] that uses a lambda for a repeating task.
       *
       * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466
       */
      fun schedule(
        name: String,
        delayNanos: Long = 0L,
        block: () -> Long,
      ) {
        schedule(
          object : Task(name) {
            override fun runOnce(): Long {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. README.md

    --------------------
    
    Building your native images with Graal https://www.graalvm.org/ should work automatically.
    This is not currently in a final released version, so `5.0.0-alpha.2` should be used.
    Please report any bugs or workarounds you find.
    
    See the okcurl module for an example build.
    
    ```shell
    $ ./gradlew okcurl:nativeImage
    $ ./okcurl/build/graal/okcurl https://httpbin.org/get
    ```
    
    License
    -------
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. gradle/libs.versions.toml

    gradlePlugin-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.9.20"
    gradlePlugin-errorprone = "net.ltgt.gradle:gradle-errorprone-plugin:4.0.1"
    gradlePlugin-graal = "com.palantir.graal:gradle-graal:0.12.0"
    gradlePlugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "org-jetbrains-kotlin" }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Oct 28 11:53:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      /**
       * Make assertions about the suppressed exceptions on this. Prefer this over making direct calls
       * so tests pass on GraalVM, where suppressed exceptions are silently discarded.
       *
       * https://github.com/oracle/graal/issues/3008
       */
      @JvmStatic
      fun Throwable.assertSuppressed(block: (List<@JvmSuppressWildcards Throwable>) -> Unit) {
        if (isGraalVmImage) return
        block(suppressed.toList())
      }
    
      @JvmStatic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top