add ReflexionUtil.getAllSubclasses(Class) with 10 minutes cache (because it takes time to compute the result)

This commit is contained in:
2020-11-07 15:00:47 +01:00
parent ea39a7a84a
commit a73f428bc4
2 changed files with 62 additions and 0 deletions

32
pom.xml
View File

@@ -33,5 +33,37 @@
<version>1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.90</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>io.github.classgraph:classgraph</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>