Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withType (0.07 sec)

  1. build.gradle.kts

      }
    
      // https://publicobject.com/2023/04/16/read-a-project-file-in-a-kotlin-multiplatform-test/
      tasks.withType<Test>().configureEach {
        environment("OKHTTP_ROOT", rootDir)
      }
      tasks.withType<KotlinJvmTest>().configureEach {
        environment("OKHTTP_ROOT", rootDir)
      }
    
      tasks.withType<JavaCompile> {
        sourceCompatibility = projectJavaVersion.toString()
        targetCompatibility = projectJavaVersion.toString()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. okhttp-osgi-tests/build.gradle.kts

    }
    
    dependencies {
      osgiTestDeploy(libs.eclipseOsgi)
      osgiTestDeploy(libs.kotlin.stdlib.osgi)
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    tasks.withType<Test> {
      onlyIf("Tests require JDK 17") {
        testJavaVersion >= 17
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:17:18 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. okcurl/build.gradle.kts

    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "okhttp3.curl")
        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") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            DataStoreException withNPE = new DataStoreException("NPE Error", new NullPointerException("Null value"));
            DataStoreException withCustom = new DataStoreException("Custom Error", new FessSystemException("System error"));
    
            assertTrue(withIOException.getCause() instanceof java.io.IOException);
            assertTrue(withNPE.getCause() instanceof NullPointerException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top