mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Better error message.
This commit is contained in:
parent
7fefcc7846
commit
e6a3d224a4
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ class ApplicationPlugin @Inject constructor(val executors: KobaltExecutors,
|
|||
if (runContributor != null && runContributor.affinity(project, context) > 0) {
|
||||
return runContributor.run(project, context, dependencyManager.dependencies(project, context))
|
||||
} else {
|
||||
warn("Couldn't find a runner for project ${project.name}")
|
||||
warn("Couldn't find a runner for project ${project.name}. Please make sure your build file contains " +
|
||||
"an application{} directive with a mainClass=... in it")
|
||||
return TaskResult()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue