- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 226 for configureEach (0.25 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
dependencies { api(platform("gradlebuild:build-platform")) implementation("gradlebuild:gradle-plugin") testImplementation("org.junit.vintage:junit-vintage-engine") } tasks.withType<KotlinCompile>().configureEach { compilerOptions { allWarningsAsErrors = true } } ktlint { filter { exclude("gradle/kotlin/dsl/accessors/_*/**") } } tasks.runKtlintCheckOverKotlinScripts {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:32:00 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/cpp/basic/kotlin/build.gradle.kts
application { dependencies { implementation(project(":common")) } } // end::cpp-dependency-mgmt[] // tag::cpp-compiler-options-all-variants[] tasks.withType(CppCompile::class.java).configureEach { // Define a preprocessor macro for every binary macros.put("NDEBUG", null) // Define a compiler options compilerArgs.add("-W3") // Define toolchain-specific compiler options
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 12.6K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/GroovyDslFileContentGenerator.groovy
tasks.withType(AbstractCompile).configureEach { options.fork = true options.incremental = true options.forkOptions.memoryInitialSize = compilerMemory options.forkOptions.memoryMaximumSize = compilerMemory options.forkOptions.jvmArgs.addAll(javaCompileJvmArgs) } tasks.withType(GroovyCompile).configureEach { groovyOptions.fork = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.6K bytes - Viewed (0) -
build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt
tasks.withType<ProjectGeneratorTask>().configureEach { group = "Project setup" } tasks.withType<AbstractProjectGeneratorTask>().configureEach { project.performanceGeneratorMaxProjects?.let { maxProjects -> setProjects(maxProjects) } } tasks.withType<JvmProjectGeneratorTask>().configureEach {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 24.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy
when: container.configureEach(method) then: noExceptionThrown() when: container.withType(container.type).configureEach(method) then: noExceptionThrown() when: container.matching({ it in container.type }).configureEach(method) then: noExceptionThrown()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 52.4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
"StringSplitter", // We are fine with using String.split() as is ) project.plugins.withType<JavaBasePlugin> { project.extensions.getByName<SourceSetContainer>("sourceSets").configureEach { val extension = this.extensions.create<ErrorProneSourceSetExtension>("errorprone", project.objects.property<Boolean>()) // Enable it only for the main source set by default, as incremental Groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:36 UTC 2024 - 6.1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
} tasks.withType<GroovyCompile>().configureEach { groovyOptions.apply { encoding = "utf-8" forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError") } options.apply { isFork = true encoding = "utf-8" compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path") } } tasks.withType<Test>().configureEach { if (JavaVersion.current().isJava9Compatible) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:32:00 UTC 2023 - 1.8K bytes - Viewed (0) -
build-logic/uber-plugins/src/main/kotlin/gradlebuild.kotlin-library.gradle.kts
associateWith(target.compilations["main"]) associateWith(target.compilations["testFixtures"]) } } tasks { withType<KotlinCompile>().configureEach { configureKotlinCompilerForGradleBuild() } withType<Test>().configureEach { // enables stricter ClassLoaderScope behaviour systemProperty( DefaultClassLoaderScope.STRICT_MODE_PROPERTY, true )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 13:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/groovy/ast-transformation-consumer/build.gradle
implementation localGroovy() } // tag::groovy-compilation-avoidance[] configurations { astTransformation } dependencies { astTransformation(project(":ast-transformation")) } tasks.withType(GroovyCompile).configureEach { astTransformationClasspath.from(configurations.astTransformation) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 384 bytes - Viewed (0)