Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 137 for jvm (0.04 sec)

  1. samples/static-server/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("com.gradleup.shadow")
    }
    
    tasks.compileJava {
      options.isWarnings = false
    }
    
    tasks.jar {
      manifest {
        attributes("Main-Class" to "okhttp3.sample.SampleServer")
      }
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 17 05:15:23 UTC 2025
    - 338 bytes
    - Viewed (0)
  2. samples/compare/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      testImplementation(projects.okhttp)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(projects.okhttpTls)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.httpClient5)
      testImplementation(libs.jettyClient)
      testImplementation(libs.junit)
      testImplementation(libs.assertk)
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 473 bytes
    - Viewed (0)
  3. okhttp-bom/build.gradle.kts

    }
    
    dependencies {
      constraints {
        project.rootProject.subprojects.forEach { subproject ->
          if (subproject.name != "okhttp-bom") {
            api(subproject)
          }
        }
        api("com.squareup.okhttp3:okhttp-jvm:${project.version}")
        api("com.squareup.okhttp3:okhttp-android:${project.version}")
      }
    }
    
    publishing {
      publications.create<MavenPublication>("maven") {
        from(project.components["javaPlatform"])
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 13 08:32:01 UTC 2025
    - 501 bytes
    - Viewed (0)
  4. samples/tlssurvey/build.gradle.kts

    plugins {
      kotlin("jvm")
      application
      id("com.google.devtools.ksp")
    }
    
    application {
      mainClass.set("okhttp3.survey.RunSurveyKt")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.okhttpCoroutines)
      implementation(libs.conscrypt.openjdk)
    
      implementation(libs.retrofit)
      implementation(libs.converter.moshi)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.moshi.kotlin)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 17 05:15:32 UTC 2025
    - 518 bytes
    - Viewed (0)
  5. okhttp-coroutines/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.coroutines",
      "Automatic-Module-Name: okhttp3.coroutines",
      "Bundle-SymbolicName: com.squareup.okhttp3.coroutines"
    )
    
    dependencies {
      api(projects.okhttp)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 936 bytes
    - Viewed (0)
  6. README.md

           implementation("com.squareup.okhttp3:logging-interceptor")
        }
    ```
    
    Maven and JVM Projects
    ----------------------
    
    OkHttp is published as a Kotlin Multiplatform project. While Gradle handles this automatically,
    Maven projects must select between `okhttp-jvm` and `okhttp-android`. The `okhttp` artifact will be empty in
    Maven projects.
    
    ```xml
    <dependencyManagement>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. samples/guide/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("com.google.devtools.ksp")
    }
    
    dependencies {
      "friendsImplementation"(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(projects.okhttpTestingSupport)
      implementation(projects.okhttpTls)
      implementation(libs.animalsniffer.annotations)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.okio.fakefilesystem)
      ksp(libs.squareup.moshi.compiler)
    }
    
    java {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 17 05:15:32 UTC 2025
    - 554 bytes
    - Viewed (0)
  8. okhttp-java-net-cookiejar/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.java.net.cookiejar",
      "Automatic-Module-Name: okhttp3.java.net.cookiejar",
      "Bundle-SymbolicName: com.squareup.okhttp3.java.net.cookiejar"
    )
    
    dependencies {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 14 00:51:50 UTC 2025
    - 594 bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.logging",
      "Automatic-Module-Name: okhttp3.logging",
      "Bundle-SymbolicName: com.squareup.okhttp3.logging"
    )
    
    dependencies {
      "friendsApi"(projects.okhttp)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 14 00:51:50 UTC 2025
    - 775 bytes
    - Viewed (0)
  10. mockwebserver-junit4/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "mockwebserver3.junit4")
      }
    }
    
    dependencies {
      api(projects.okhttp)
      api(projects.mockwebserver3)
      api(libs.junit)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 581 bytes
    - Viewed (0)
Back to top