Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for jvmArgs (0.07 seconds)

  1. container-tests/build.gradle.kts

      onlyIf("By default not in CI") {
        !isCi.isPresent
          || (containerTests.isPresent && containerTests.get().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
        jvmArgs(
          "-Djdk.tracePinnedThreads=short",
        )
      }
    
      val javaToolchains = project.extensions.getByType<JavaToolchainService>()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 1.3K bytes
    - Click Count (1)
  2. build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts

      testRuntimeOnly(library("junit-vintage-engine"))
      testRuntimeOnly(library("junit-platform-launcher"))
    }
    
    tasks.withType<Test> {
      useJUnitPlatform()
      jvmArgs("-Dokhttp.platform=$platform")
    
      if (platform == "loom") {
        jvmArgs("-Djdk.tracePinnedThreads=short")
      }
      if (platform == "openjsse") {
        if (testJavaVersion > 8) {
          throw GradleException("OpenJSSE is only supported on Java 8")
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 07:16:57 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  3. build-logic/build.gradle.kts

            val rootProperties = readProperties(rootPropertiesFile.asFile)
            val jvmArgs = listOf(buildLogicProperties, rootProperties).map { it.getProperty("org.gradle.jvmargs") }.toSet()
            if (jvmArgs.size > 1) {
                throw GradleException("gradle.properties and build-logic/gradle.properties have different org.gradle.jvmargs " +
                    "which may cause two daemons to be spawned on CI and in IDEA. " +
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 09 03:14:32 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                        args(stylesheetFile.absolutePath)
                        args(fvd.file.absolutePath)
                        args(outFile.absolutePath)
                        args(destDir.absolutePath)
                        jvmArgs('-Xmx1024m')
                        classpath = xslClasspath
                        systemProperty 'xslthl.config', xslthlConfigFile
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 04 07:24:54 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  5. okhttp/build.gradle.kts

        val alpnBootJar =
          configurations
            .detachedConfiguration(
              dependencies.create("org.mortbay.jetty.alpn:alpn-boot:$alpnBootVersion"),
            ).singleFile
        tasks.withType<Test> {
          jvmArgs("-Xbootclasspath/p:$alpnBootJar")
        }
      }
    }
    
    // From https://github.com/Kotlin/kotlinx-atomicfu/blob/master/atomicfu/build.gradle.kts
    val compileJavaModuleInfo by tasks.registering(JavaCompile::class) {
    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)
  6. .github/workflows/containers.yml

    name: containers
    
    on:
      push:
        branches:
          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_containers:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 875 bytes
    - Click Count (0)
  7. .github/workflows/docs.yml

    name: docs
    
    on:
      push:
        branches:
          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_docs:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 26 22:11:04 GMT 2026
    - 990 bytes
    - Click Count (0)
  8. .github/workflows/publish.yml

    name: publish
    
    on:
      push:
        tags:
          - '**'
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      publish:
        runs-on: macos-15
    
        steps:
          - uses: actions/checkout@v6
          - uses: actions/setup-java@v5
            with:
              distribution: 'temurin'
              java-version-file: .github/workflows/.java-version
    
          - run: ./gradlew publish
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 787 bytes
    - Click Count (0)
  9. gradle.properties

    androidBuild=false
    graalBuild=false
    loomBuild=false
    containerTests=false
    okhttpModuleTests=false
    okhttpDokka=false
    
    # Increase heap and metaspace to reduce GC pressure when loading 30+ plugin classpaths
    org.gradle.jvmargs=-Dfile.encoding=UTF-8
    
    # AGP 9.0 Settings
    android.builtInKotlin=true
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 08:47:08 GMT 2026
    - 718 bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

        testRuntimeOnly(testLibs.findLibrary("junitPlatform").get())
    }
    
    tasks.withType<GroovyCompile>().configureEach {
        groovyOptions.apply {
            encoding = "utf-8"
            forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError")
        }
        options.apply {
            isFork = true
            encoding = "utf-8"
            compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path")
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 2.3K bytes
    - Click Count (0)
Back to Top