- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 528 for listOf (0.16 sec)
-
platforms/documentation/docs/src/snippets/testing/patch-module/kotlin/build.gradle.kts
plugins { `java-library` } repositories { mavenCentral() } tasks.test { useJUnitPlatform() } // tag::patchArgs[] val moduleName = "org.gradle.sample" val patchArgs = listOf("--patch-module", "$moduleName=${tasks.compileJava.get().destinationDirectory.asFile.get().path}") tasks.compileTestJava { options.compilerArgs.addAll(patchArgs) } tasks.test { jvmArgs(patchArgs) } // end::patchArgs[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 614 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-settings/kotlin/settings.gradle.kts
library("commons-lang3", "org.apache.commons", "commons-lang3").version { strictly("[3.8, 4.0[") prefer("3.9") } bundle("groovy", listOf("groovy-core", "groovy-json", "groovy-nio")) } } } // end::catalog_with_bundle[] } if (providers.systemProperty("create4").getOrNull() != null) { // tag::catalog_with_plugin[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.5K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
val conscrypt = if (includeConscrypt) { Security.addProvider(Conscrypt.newProvider()) conscrypt(ianaSuitesNew) } else { Client("Conscrypt", "Disabled", null, listOf()) } val clients = listOf( okhttp, chrome80, firefox73, android9, safari12iOS, conscrypt, currentVm, okHttp_3_9, okHttp_3_11, okHttp_3_13,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 3.5K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule2.kt
@MyComposable fun Scaffold(bars: List<@MyComposable () -> Unit>) { } // MODULE: main(lib) // FILE: main.kt import org.jetbrains.kotlin.fir.plugin.MyComposable import p3.Scaffold @MyComposable private fun TopAppBar(title: String) { } @MyComposable private fun ArticleScreenContent(title: String, bottomBarContent: @MyComposable () -> Unit = { }) { Scaffold(listOf({ TopAppBar(title) }, bottomBarContent))
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Mar 22 12:26:50 UTC 2024 - 587 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/antlr/useAntlrPlugin/kotlin/build.gradle.kts
// tag::declare-dependency[] } // end::declare-dependency[] // tag::generate-grammar-settings[] tasks.generateGrammarSource { maxHeapSize = "64m" arguments = arguments + listOf("-visitor", "-long-messages") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 592 bytes - Viewed (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts
import org.gradle.docs.samples.Dsl plugins { id("org.gradle.samples") } val singleProjectSampleLanguages = listOf(JAVA, GROOVY, SCALA, KOTLIN, SWIFT, CPP) val multiProjectApplicationSampleLanguages = listOf(JAVA, GROOVY, SCALA, KOTLIN) singleProjectSampleLanguages.forEach { language -> setupGeneratorTask(language, "library", ModularizationOption.SINGLE_PROJECT)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:08 UTC 2023 - 22.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/performance-test-extensions.kt
extraParameters: String = "", os: Os = Os.LINUX, arch: Arch = Arch.AMD64, testJavaVersion: String = os.perfTestJavaVersion.major.toString(), testJavaVendor: String = os.perfTestJavaVendor.toString(), ) = listOf( "$task${if (extraParameters.isEmpty()) "" else " $extraParameters"}", "-PperformanceBaselines=$baselines", "-PtestJavaVersion=$testJavaVersion", "-PtestJavaVendor=$testJavaVendor",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 03:39:03 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/parsingUtil.kt
val value = result.value check(value is Syntactic<T>) return value.value } fun <T> checked(results: List<CheckedResult<SyntacticResult<T>>>): List<T> = results.map { val syntacticResult = it.value check(syntacticResult is Syntactic<T>) syntacticResult.value }.toList() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:53:44 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example-kotlin-dsl/app/build.gradle.kts
type.name } // When no product flavors defined, use empty val productFlavors = android.productFlavors.map { flavor -> flavor.name } .takeIf { it.isNotEmpty() } ?: listOf("") productFlavors.forEach { productFlavorName -> buildTypes.forEach { buildTypeName -> lateinit var sourceName: String lateinit var sourcePath: String
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.2K bytes - Viewed (0)