You need all the Spine runtime source files, or possibly I don't understand the question. If you are unfamiliar with setting up a project for development, it is probably not a good idea to start with integrating or modifying a Spine runtime, which is relatively advanced.
The easiest way to deal with WEBP rendering artifacts is probably to use PNG. Otherwise I'm not sure why you get rendering artifacts using WEBP.