Skip to content

Commit

Permalink
Fix reflection issue inside gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
RoRoche committed May 6, 2020
1 parent a49a6a7 commit 237a00f
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,10 @@ class BuildClassDiagramTask extends DefaultTask implements CustomTask {
new ClsInPackage(
extension.packageName,
new Reflections(
new ConfigurationBuilder()
.setScanners(
new SubTypesScanner(false),
new TypeAnnotationsScanner()
).setExecutorService(
Executors.newFixedThreadPool(4)
new ConfigurationBuilder(
).setScanners(
new SubTypesScanner(false),
new TypeAnnotationsScanner()
).setClassLoaders(
classLoader
)
Expand Down

0 comments on commit 237a00f

Please # to comment.