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 Oct 31, 2018
1 parent d211c0b commit c1d8d87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Currently the versioning policy of this project follows [Semantic Versioning](ht

## Unreleased - 2018-??-??

### Fixed

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

## 1.6.5 - 2018-10-17

### Changed
Expand All @@ -23,7 +27,7 @@ Currently the versioning policy of this project follows [Semantic Versioning](ht

* Use SpotBugs 3.1.6
* Added support for passing JVM arguments to the JavaExecHandleBuilder when creating a SpotBugsTask.
* Support Gradle 4.10 that cause problem with problematic method reference. ([#40](https://github.com/spotbugs/spotbugs-gradle-plugin/pull/40))
* Support Gradle 4.10 that cause problem with problematic method reference. ([#40](https://github.com/spotbugs/spotbugs-gradle-plugin/pull/40))lee

## 1.6.2 - 2018-05-23

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 @@ -199,6 +199,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 c1d8d87

Please sign in to comment.