SonarQubeProperties in gradle plugin 3.3 help

I started in that thread and tried using the SonQubeExtention example but that didn’t work. Seem like this might be the work around from that thread? How/where do I use/apply the SonarPlugin class?