- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 235 for configureEach (0.44 sec)
-
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/java/jvm-multi-project-with-toolchains/groovy/buildSrc/src/main/groovy/myproject.java-conventions.gradle
repositories { mavenCentral() } // tag::toolchain[] java { toolchain { languageVersion = JavaLanguageVersion.of(11) } } // end::toolchain[] tasks.withType(Test).configureEach { useJUnitPlatform() } dependencies { testImplementation 'org.junit.jupiter:junit-jupiter:5.7.1' testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 439 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/junitplatform-tagging/kotlin/build.gradle.kts
mavenCentral() } dependencies { implementation("org.junit.jupiter:junit-jupiter:5.7.1") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } // tag::test-tags[] tasks.withType<Test>().configureEach { useJUnitPlatform { includeTags("fast") excludeTags("slow") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 369 bytes - Viewed (0) -
platforms/jvm/language-java/build.gradle.kts
crossVersionTestDistributionRuntimeOnly(project(":distributions-basics")) } tasks.withType<Test>().configureEach { if (!javaVersion.isJava9Compatible) { classpath += javaLauncher.get().metadata.installationPath.files("lib/tools.jar") } } tasks.withType<JavaCompile>().configureEach { options.release = null sourceCompatibility = "8" targetCompatibility = "8" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/junitplatform-engine/groovy/build.gradle
testCompileOnly 'junit:junit:4.13' testRuntimeOnly 'org.junit.vintage:junit-vintage-engine' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } // tag::filter-engine[] tasks.withType(Test).configureEach { useJUnitPlatform { includeEngines 'junit-vintage' // excludeEngines 'junit-jupiter' } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 507 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/sharing-convention-plugins-with-build-logic/groovy/build-conventions/src/main/groovy/myproject.java-conventions.gradle
plugins { id 'java' } repositories { mavenCentral() } tasks.withType(JavaCompile).configureEach { options.compilerArgs << "-Xlint:deprecation"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 159 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 14:36:44 UTC 2024 - 44.9K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ForceScalaCompileIntegrationTest.groovy
plugins { id 'scala' } repositories { mavenCentral() } dependencies { implementation 'org.scala-lang:scala-library:2.12.18' } tasks.withType(ScalaCompile).configureEach { scalaCompileOptions.force = true } """ file('src/main/scala/org/test/Person.scala') << """ package org.test class Person(name: String) { def getName(): String = name } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:06 UTC 2023 - 3.1K bytes - Viewed (0) -
analysis/analysis-api/build.gradle.kts
api(libs.guava) } kotlin { explicitApi() } sourceSets { "main" { projectDefault() } "test" { projectDefault() } } tasks.withType<KotlinJvmCompile>().configureEach { compilerOptions.freeCompilerArgs.add("-Xcontext-receivers") } testsJar() projectTest { workingDir = rootDir
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 1.1K bytes - Viewed (0)