Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for executionData (0.16 sec)

  1. platforms/documentation/docs/src/snippets/testing/jacoco-application/kotlin/build.gradle.kts

        application
        jacoco
    }
    
    application {
        mainClass = "org.gradle.MyMain"
    }
    
    jacoco {
        applyTo(tasks.run.get())
    }
    
    tasks.register<JacocoReport>("applicationCodeCoverageReport") {
        executionData(tasks.run.get())
        sourceSets(sourceSets.main.get())
    }
    // end::application-configuration[]
    
    repositories {
        mavenCentral()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 382 bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AntJacocoCheck.java

                                         final FileCollection allClassesDirs, final FileCollection allSourcesDirs,
                                         @Nullable final String encoding, final FileCollection executionData, final JacocoViolationRulesContainer violationRules) {
            final JacocoCheckResult jacocoCheckResult = new JacocoCheckResult();
    
            configureAntReportTask(classpath, new Action<GroovyObjectSupport>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/build-logic/report-aggregation/src/main/groovy/com.example.report-aggregation.gradle

        classDirectories.from(classesPath.getIncoming().getFiles())
        sourceDirectories.from(sourcesPath.getIncoming().artifactView { lenient(true) }.getFiles())
        executionData(coverageDataPath.getIncoming().artifactView { lenient(true) }.getFiles().filter { it.exists() })
    
        reports {
            html.required = true
            xml.required = true
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/build-logic/report-aggregation/src/main/kotlin/com.example.report-aggregation.gradle.kts

    val codeCoverageReport by tasks.registering(JacocoReport::class) {
        additionalClassDirs(classesPath.filter { it.isDirectory() })
        additionalSourceDirs(sourcesPath.incoming.artifactView { lenient(true) }.files)
        executionData(coverageDataPath.incoming.artifactView { lenient(true) }.files.filter { it.exists() })
    
        reports {
            html.required = true
            xml.required = true
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoReportRelocationIntegrationTest.groovy

        }
    
        @Override
        protected void moveFilesAround() {
            buildFile << """
                sourceSets.test.java.destinationDirectory.set(file("build/test-classes"))
                jacocoTestReport.executionData.from = files("build/jacoco.exec")
            """
            file("build/classes/test").assertIsDir().renameTo(file("build/test-classes"))
            file("build/jacoco/test.exec").assertIsFile().renameTo(file("build/jacoco.exec"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/app/build.gradle

                        "src/$buildTypeName/kotlin"
                    ]
                    additionalSourceDirs.from(files(coverageSourceDirs))
                    sourceDirectories.from(files(coverageSourceDirs))
                    executionData.from(files("${project.buildDir}/jacoco/${testTaskName}.exec"))
                    reports {
                        xml.required = true
                        html.required = true
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example-kotlin-dsl/app/build.gradle.kts

                        "src/$buildTypeName/kotlin"
                    )
                    additionalSourceDirs.from(files(coverageSourceDirs))
                    sourceDirectories.from(files(coverageSourceDirs))
                    executionData.from(files("${project.buildDir}/jacoco/${testTaskName}.exec"))
                    reports {
                        xml.required = true
                        html.required = true
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

                            new Thread(gateKeeper).start()
                        }
                    }
                }
    
                def continuousExecutionGate = gradle.services.get(DeploymentRegistryInternal).executionGate
                BuildGateKeeperStarter.start(continuousExecutionGate)
    
                class SimpleTask extends DefaultTask {
                    @InputFile
                    File inputFile = project.file("input.txt")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top