- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 588 for onlyIf (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
container-tests/build.gradle.kts
val testJavaVersion = project.testJavaVersion tasks.withType<Test> { useJUnitPlatform() val isCi = providers.environmentVariable("CI") val containerTests = providers.gradleProperty("containerTests") onlyIf("By default not in CI") { !isCi.isPresent || (containerTests.isPresent && containerTests.get().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform", ) if (platform == "loom") {
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) -
okcurl/build.gradle.kts
} tasks.shadowJar { mergeServiceFiles() } tasks.withType<Test> { val javaVersion = project.testJavaVersion onlyIf("native build requires Java 17") { javaVersion > 17 } } apply(plugin = "org.graalvm.buildtools.native") configure<GraalVMExtension> { binaries { named("main") { imageName = "okcurl" mainClass = "okhttp3.curl.MainCommandLineKt"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) -
build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts
} signatures = androidSignature + jvmSignature failWithoutSignatures = false } // Default to only published modules project.tasks.withType<AnimalSniffer> { val hasMavenPublish = project.extensions.findByType<MavenPublishBaseExtension>() != null onlyIf { hasMavenPublish } } dependencies { // Logic for signatures should be moved to the applying module or configured via extension
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 2.9K bytes - Click Count (0) -
okhttp-osgi-tests/build.gradle.kts
} dependencies { osgiTestDeploy(libs.eclipse.osgi) osgiTestDeploy(libs.kotlin.stdlib.osgi) } tasks.withType<Test> { dependsOn(copyOsgiTestDeployment) val javaVersion = project.testJavaVersion onlyIf("Tests require JDK 17") { javaVersion >= 17 }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 2.5K bytes - Click Count (0) -
build-logic/src/main/kotlin/BndBuildAction.kt
target: String?, ) = "${jvmMainSourceSet.getTaskName(verb, target)}ForFakeMain" } sourceSets.add(mainSourceSet) project.tasks.named { it.endsWith("ForFakeMain") }.configureEach { onlyIf { false } } return mainSourceSet } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 8.9K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts
val artifactoryUserPassword get() = project.providers.gradleProperty("artifactoryUserPassword").orNull tasks.withType<AbstractPublishToMaven>().configureEach { val noUpload = project.gradleProperty("noUpload") this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() } if (name.endsWith("ToRemoteRepository")) { failEarlyIfUrlOrCredentialsAreNotSet(this) // packageBuild task executes tests, so we must run after itCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Feb 06 07:41:19 GMT 2026 - 3.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
task.setGroup("documentation"); task.dependsOn(extension.getUserManual().getStagedDocumentation()); task.onlyIf(t -> !extension.getQuickFeedback().get()); task.sources(patternSet -> patternSet.include("userguide_single.adoc")); // TODO: This breaks the provider
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 17.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java
this.secure = secure; } /** * Checks if the cookie is HTTP-only. * * @return true if HTTP-only */ public boolean isHttpOnly() { return httpOnly; } /** * Sets whether the cookie is HTTP-only. * * @param httpOnly true for HTTP-only cookies */ public void setHttpOnly(final boolean httpOnly) {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 08 14:22:26 GMT 2026 - 3.8K bytes - Click Count (0) -
compat/maven-compat/pom.xml
</dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <!-- only for backward compatibility otherwhise would be provided --> <scope>compile</scope> </dependency> <dependency> <!-- only for backward compatibility --> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> <version>1.0</version>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
* otherwise returns an empty stream. */ public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) { return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0)