All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.freeletics.gradle.setup.TestTaskSetup.kt Maven / Gradle / Ivy

There is a newer version: 0.20.0
Show newest version
package com.freeletics.gradle.setup

import org.gradle.api.tasks.testing.Test

internal fun Test.defaultTestSetup() {
    val projectName = project.path
        .replace("projects", "")
        .replaceFirst(":", "")
        .replace(":", "/")
    reports.html.outputLocation.set(project.rootProject.layout.buildDirectory.dir("reports/tests/$projectName"))
    reports.junitXml.outputLocation.set(project.rootProject.layout.buildDirectory.dir("reports/tests/$projectName"))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy