mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Trim down the classpath.
This commit is contained in:
parent
8d2888df3e
commit
7fee4b0969
1 changed files with 3 additions and 2 deletions
|
@ -24,8 +24,9 @@ class JvmCompiler @Inject constructor(val dependencyManager: DependencyManager)
|
|||
: TaskResult {
|
||||
|
||||
// Dependencies
|
||||
val allDependencies = info.dependencies +
|
||||
dependencyManager.calculateDependencies(project, context!!, info.dependencies)
|
||||
val allDependencies = (info.dependencies
|
||||
+ dependencyManager.calculateDependencies(project, context!!, info.dependencies))
|
||||
.distinct()
|
||||
|
||||
// Plugins that add flags to the compiler
|
||||
val addedFlags = ArrayList(info.compilerArgs) +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue