- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for Java9 (0.02 seconds)
-
build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts
//configureJavaCompatibility(javaVersion = 8) configureKotlinCompatibility(version = version("kotlinCoreLibrariesVersion")) tasks.withType<JavaCompile> { options.encoding = Charsets.UTF_8.toString() if (name.contains("Java9")) { sourceCompatibility = "9" targetCompatibility = "9" } else { sourceCompatibility = "1.8" targetCompatibility = "1.8" } } tasks.withType<KotlinCompile> { compilerOptions {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Feb 09 14:40:26 GMT 2026 - 1.4K bytes - Click Count (0) -
module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java
} @Test public void testMockWebServer() throws IOException { MockWebServer server = new MockWebServer(); server.enqueue(new MockResponse(200, Headers.of(), "Hello, Java9!")); server.start(); // Just check we can run code that depends on OkHttp types Call call = OkHttpCaller.callOkHttp(server.url("/")); try (Response response = call.execute();) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 2.1K bytes - Click Count (0) -
okhttp/build.gradle.kts
val compilation = kotlin.targets["jvm"].compilations["main"] val compileKotlinTask = compilation.compileTaskProvider.get() as KotlinJvmCompile val targetDir = compileKotlinTask.destinationDirectory.dir("../java9") val sourceDir = file("src/jvmMain/java9/") // Use a Java 11 compiler for the module info. javaCompiler.set(project.javaToolchains.compilerFor { languageVersion.set(JavaLanguageVersion.of(11)) })
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) -
build-logic/src/main/kotlin/JavaModules.kt
val compileKotlinTask = tasks.getByName("compileKotlin") as KotlinJvmCompile dependsOn(compileKotlinTask) if (enableValidation) { compileKotlinTask.source(file("src/main/java9")) } // Ignore warnings about using 'requires transitive' on automatic modules. // not needed when compiling with recent JDKs, e.g. 17 options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 22:47:58 GMT 2026 - 2.3K bytes - Click Count (0) -
android/guava-testlib/pom.xml
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 17:59:17 GMT 2025 - 5K bytes - Click Count (0) -
guava-testlib/pom.xml
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 17:59:17 GMT 2025 - 5K bytes - Click Count (0) -
futures/failureaccess/pom.xml
<arg>-sourcepath</arg> <arg>doesnotexist</arg> </compilerArgs> </configuration> </execution> <execution> <id>compile-java9</id> <goals> <goal>compile</goal> </goals> <configuration> <release>9</release> <compileSourceRoots>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 19:27:26 GMT 2025 - 5.4K bytes - Click Count (0) -
guava/pom.xml
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 21:36:50 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava/pom.xml
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 21:36:50 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
*/ @IgnoreJRERequirement @SuppressWarnings("NewApi") @Override String typeName(Type type) { return type.getTypeName(); } }, JAVA9 { @Override Type newArrayType(Type componentType) { return JAVA8.newArrayType(componentType); } @Override Type usedInGenericType(Type type) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0)