Skip to content

Commit

Permalink
close #62: use runtime classpath instead of compile classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
KengoTODA committed Dec 17, 2018
1 parent 30e1ae1 commit 1dbe334
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ Currently the versioning policy of this project follows [Semantic Versioning](ht

## Unreleased

### Changed

* Keep track of top-level source set folders [#59](https://github.com/spotbugs/spotbugs-gradle-plugin/pull/59)

### Fixed

* Analyze runtime classpath instead of compile classpath. [#62](https://github.com/spotbugs/spotbugs-gradle-plugin/issues/62)

## 1.6.6 - 2018-12-08

## Fixed
Expand All @@ -18,8 +26,6 @@ Currently the versioning policy of this project follows [Semantic Versioning](ht

* Replace usage of internal Gradle APIs with supported [Worker API](https://guides.gradle.org/using-the-worker-api/). [#58](https://github.com/spotbugs/spotbugs-gradle-plugin/pull/58)

* Keep track of top-level source set folders [#59](https://github.com/spotbugs/spotbugs-gradle-plugin/pull/59)

## 1.6.4 - 2018-09-26

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/spotbugs/SpotBugsPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ protected void configureForSourceSet(final SourceSet sourceSet, SpotBugsTask tas
.forEach(tree -> tree.builtBy(sourceSet.getClassesTaskName()));
return presentClassDirs;
});
taskMapping.map("classpath", sourceSet::getCompileClasspath);
taskMapping.map("classpath", sourceSet::getRuntimeClasspath);
}
}

0 comments on commit 1dbe334

Please sign in to comment.