LPS-45111 Add classes to classpath in first place, so that the ClasspathResolver uses a Buildtime implementation