Drill a 1/8" hole in the cap. Widen it slightly.
Starting from the outside, the rivet should pass through the ring terminal, a washer, a piece of cardstock (more on that in a second), through the cap, and then secure the second washer inside the cap.
The cardstock was a good idea that didn't work well at all. I wanted the ring terminal to be able to spin on the rivet. I had planned on ripping the cardstock out but the rivet gripped too hard and I never got it out. Perhaps if I had put the cardstock on the other side of the washer it would have worked better.
After this step is complete get out your ohmmeter again. Set it to 10V DC and touch the positive probe to the barrel and the negative to the inside washer on the PVC cap. Verify that you are getting 9 volts when the trigger is pulled.