1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 07:57:12 -07:00

Refactor.

This commit is contained in:
Cedric Beust 2017-04-24 11:34:54 -07:00
parent bb2e09f680
commit cccff9e7b0

View file

@ -166,7 +166,6 @@ class AptPlugin @Inject constructor(val dependencyManager: DependencyManager, va
//
// Tell the Kotlin compiler to use the annotation plug-in
//
val allDeps = allDependencies(project)
flags.add("-Xplugin")
flags.add(annotationProcessorDependency().jarFile.get().absolutePath)
@ -202,6 +201,7 @@ class AptPlugin @Inject constructor(val dependencyManager: DependencyManager, va
//
// Dependencies for the annotation plug-in and the generation
//
val allDeps = allDependencies(project)
val dependencies = dependencyManager.calculateDependencies(project, context,
Filters.EXCLUDE_OPTIONAL_FILTER,
listOf(Scope.COMPILE),