Classpath configuration: specify additional dependencies via maven coordinates and resolvers, as well as configure the handling of the inherited classpath (i.e. how we handle the jars that we get from java.class.path
system property as well as the current class loaders, recursively).
You can either inherit the entire outer classpath via inheritEntireClasspath == true
or specify an 'includes list' of regexes for jars to keep. Additionally (in combination with both options) you can specify an 'excludes list' of jars to be excluded. Note that the 'includes list' has a default list ForClasspath.DefaultInheritClasspathIncludes
.
Implementation note: the includes and excludes lists use String
as the list member type because Regex
defines equality etc. differently, which breaks common case class conventions.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any