Skip to content

Commit

Permalink
Merge 4003b63 into a7026a7
Browse files Browse the repository at this point in the history
  • Loading branch information
OdysseusLives committed Feb 1, 2020
2 parents a7026a7 + 4003b63 commit d43e02b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

package nebula.plugin.dependencyverifier

import nebula.plugin.dependencylock.utils.ConfigurationFilters
import nebula.plugin.dependencylock.utils.GradleVersionUtils
import nebula.plugin.dependencyverifier.exceptions.DependencyResolutionException
import org.gradle.BuildResult
Expand Down Expand Up @@ -261,6 +262,7 @@ class DependencyResolutionVerifier {
return (conf as Configuration).state != Configuration.State.UNRESOLVED &&
// the configurations `incrementalScalaAnalysisFor_x_` are resolvable only from a scala context
!(conf as Configuration).name.startsWith('incrementalScala') &&
!configurationsToExclude.contains((conf as Configuration).name)
!configurationsToExclude.contains((conf as Configuration).name) &&
!ConfigurationFilters.safelyHasAResolutionAlternative(conf as Configuration)
}
}

0 comments on commit d43e02b

Please sign in to comment.