- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for targetCompatibility (0.22 seconds)
-
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/ElasticsearchJavaPluginFuncTest.groovy
assert compileJava.sourceCompatibility == JavaVersion.VERSION_1_10.toString() assert compileJava.targetCompatibility == JavaVersion.VERSION_1_10.toString() """ then: gradleRunner("help").build() } def "compile option --release is configured from targetCompatibility"() { when: buildFile.text = """ plugins { id 'elasticsearch.java'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
// current `targetCompatibility` version. // Each extract will overwrite the top level classes that existed before it, the result is that we end up // with a single version of the class in `jarExpandDir`. // This will be the closes version to `targetCompatibility`, the same class that would be loaded in a JVM // that has `targetCompatibility` version.Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0) -
build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts
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 { jvmTarget.set(JvmTarget.JVM_1_8) freeCompilerArgs.addAll( "-Xjvm-default=all",
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) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.java-shared-runtime.gradle.kts
id("gradlebuild.private-javadoc") } description = "A plugin that sets up a Java code that is shared between build-logic and runtime" java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } testing { suites { val test by getting(JvmTestSuite::class) { useSpock() dependencies {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jan 22 14:28:13 GMT 2025 - 699 bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.kotlin-shared-runtime.gradle.kts
id("gradlebuild.private-javadoc") } description = "A plugin that sets up a Kotlin DSL code that is shared between build-logic and runtime" java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlin { compilerOptions { allWarningsAsErrors = true jvmTarget.set(JvmTarget.JVM_1_8) } } detekt {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jan 22 14:28:13 GMT 2025 - 869 bytes - Click Count (0) -
regression-test/build.gradle.kts
testInstrumentationRunnerArguments += mapOf( "notClass" to "org.conscrypt.KitKatPlatformOpenSSLSocketImplAdapter,org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests" ) } compileOptions { targetCompatibility(JavaVersion.VERSION_11) sourceCompatibility(JavaVersion.VERSION_11) } // issue merging due to conflict with httpclient and something else packagingOptions.resources.excludes += setOf(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 1.6K bytes - Click Count (0) -
android-test-app/build.gradle.kts
testBuildType = "debug" defaultConfig { minSdk = 21 targetSdk = 36 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } compileOptions { targetCompatibility(JavaVersion.VERSION_11) sourceCompatibility(JavaVersion.VERSION_11) } buildTypes { release { isShrinkResources = true isMinifyEnabled = true
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 1.2K bytes - Click Count (0) -
okcurl/build.gradle.kts
} tasks.withType<KotlinCompile> { compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } } tasks.withType<JavaCompile> { sourceCompatibility = JvmTarget.JVM_17.target targetCompatibility = JvmTarget.JVM_17.target } val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") { from("src/main/resources-templates")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 2.4K bytes - Click Count (0) -
native-image-tests/build.gradle.kts
} tasks.withType<KotlinCompile> { compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } } tasks.withType<JavaCompile> { sourceCompatibility = JvmTarget.JVM_17.target targetCompatibility = JvmTarget.JVM_17.target } // TODO reenable other tests // https://github.com/square/okhttp/issues/8901 // sourceSets { // test { // java.srcDirs( // "../okhttp-brotli/src/test/java",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 1.3K bytes - Click Count (0) -
build-conventions/build.gradle
id 'java-test-fixtures' id 'eclipse' } group = "org.elasticsearch" def minRuntimeJava = JavaVersion.toVersion(file('../build-tools-internal/src/main/resources/minimumRuntimeVersion').text) targetCompatibility = minRuntimeJava sourceCompatibility = minRuntimeJava gradlePlugin { // We already configure publication and we don't need or want the one that comes // with the java-gradle-plugin
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 01 09:43:51 GMT 2021 - 2.7K bytes - Click Count (0)