Skip to content

Commit

Permalink
Add checkstyle project dependencies; work around gradle/gradle#855 (#107
Browse files Browse the repository at this point in the history
)
  • Loading branch information
uschi2000 authored Nov 14, 2016
2 parents 6d51fe5 + a39111b commit 0c6587f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ class BaselineCheckstyle extends AbstractBaselinePlugin {
includeExtensions.each { extension ->
task.include "**/*.$extension"
}

// Work around https://github.com/gradle/gradle/issues/855
project.tasks.checkstyleMain.classpath += project.configurations.compileClasspath
project.tasks.checkstyleTest.classpath += project.configurations.testCompileClasspath
}

def configureCheckstyleForEclipse() {
Expand Down

0 comments on commit 0c6587f

Please sign in to comment.