mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Don't compile with kobaltBuild/classes on the classpath.
This commit is contained in:
parent
ea7cecf590
commit
abd84ca386
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class CompilerUtils @Inject constructor(val files: KFiles, val dependencyManager
|
|||
copyResources(project, context, SourceSet.of(isTest))
|
||||
|
||||
val fullClasspath = dependencyManager.calculateDependencies(project, context,
|
||||
scopes = listOf(Scope.COMPILE, Scope.TEST))
|
||||
scopes = if (isTest) listOf(Scope.COMPILE, Scope.TEST) else listOf(Scope.COMPILE))
|
||||
|
||||
File(project.directory, buildDirectory.path).mkdirs()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue