mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Rename.
This commit is contained in:
parent
c6f91f6cab
commit
413606ec33
1 changed files with 3 additions and 3 deletions
|
@ -86,10 +86,10 @@ open class JvmCompilerPlugin @Inject constructor(
|
||||||
private fun taskTest(project: Project, configName: String): TaskResult {
|
private fun taskTest(project: Project, configName: String): TaskResult {
|
||||||
lp(project, "Running tests: $configName")
|
lp(project, "Running tests: $configName")
|
||||||
|
|
||||||
val runContributor = ActorUtils.selectAffinityActor(project, context,
|
val testContributor = ActorUtils.selectAffinityActor(project, context,
|
||||||
context.pluginInfo.testRunnerContributors)
|
context.pluginInfo.testRunnerContributors)
|
||||||
if (runContributor != null && runContributor.affinity(project, context) > 0) {
|
if (testContributor != null && testContributor.affinity(project, context) > 0) {
|
||||||
return runContributor.run(project, context, configName,
|
return testContributor.run(project, context, configName,
|
||||||
dependencyManager.testDependencies(project, context))
|
dependencyManager.testDependencies(project, context))
|
||||||
} else {
|
} else {
|
||||||
log(1, "Couldn't find a test runner for project ${project.name}, did you specify a dependenciesTest{}?")
|
log(1, "Couldn't find a test runner for project ${project.name}, did you specify a dependenciesTest{}?")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue