
com.freeletics.gradle.setup.TestTaskSetup.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugins Show documentation
Show all versions of plugins Show documentation
A set of reusable Gradle plugins
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